Class: RightAws::RightSaxParserCallback

Inherits:
Object
  • Object
show all
Defined in:
lib/awsbase/right_awsbase.rb

Overview


Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(right_aws_parser) ⇒ RightSaxParserCallback

Returns a new instance of RightSaxParserCallback.



624
625
626
# File 'lib/awsbase/right_awsbase.rb', line 624

def initialize(right_aws_parser) 
  @right_aws_parser = right_aws_parser 
end

Class Method Details

.include_callbackObject

:nodoc:



621
622
623
# File 'lib/awsbase/right_awsbase.rb', line 621

def self.include_callback 
  include XML::SaxParser::Callbacks       
end

Instance Method Details

#on_cdata_block(cdata) ⇒ Object



639
# File 'lib/awsbase/right_awsbase.rb', line 639

def on_cdata_block(cdata); end

#on_characters(chars) ⇒ Object



630
631
632
# File 'lib/awsbase/right_awsbase.rb', line 630

def on_characters(chars) 
  @right_aws_parser.text(chars) 
end

#on_comment(msg) ⇒ Object



637
# File 'lib/awsbase/right_awsbase.rb', line 637

def on_comment(msg); end

#on_end_documentObject



640
# File 'lib/awsbase/right_awsbase.rb', line 640

def on_end_document; end

#on_end_element(name) ⇒ Object



633
634
635
# File 'lib/awsbase/right_awsbase.rb', line 633

def on_end_element(name) 
  @right_aws_parser.tag_end(name) 
end

#on_processing_instruction(target, data) ⇒ Object



638
# File 'lib/awsbase/right_awsbase.rb', line 638

def on_processing_instruction(target, data); end

#on_start_documentObject



636
# File 'lib/awsbase/right_awsbase.rb', line 636

def on_start_document; end

#on_start_element(name, attr_hash) ⇒ Object



627
628
629
# File 'lib/awsbase/right_awsbase.rb', line 627

def on_start_element(name, attr_hash) 
  @right_aws_parser.tag_start(name, attr_hash) 
end