Class: RightAws::RightSaxParserCallback
- Defined in:
- lib/awsbase/right_awsbase.rb
Overview
Class Method Summary collapse
-
.include_callback ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#initialize(right_aws_parser) ⇒ RightSaxParserCallback
constructor
A new instance of RightSaxParserCallback.
- #on_cdata_block(cdata) ⇒ Object
- #on_characters(chars) ⇒ Object
- #on_comment(msg) ⇒ Object
- #on_end_document ⇒ Object
- #on_end_element(name) ⇒ Object
- #on_processing_instruction(target, data) ⇒ Object
- #on_start_document ⇒ Object
- #on_start_element(name, attr_hash) ⇒ Object
Constructor Details
#initialize(right_aws_parser) ⇒ RightSaxParserCallback
Returns a new instance of RightSaxParserCallback.
658 659 660 |
# File 'lib/awsbase/right_awsbase.rb', line 658 def initialize(right_aws_parser) @right_aws_parser = right_aws_parser end |
Class Method Details
.include_callback ⇒ Object
:nodoc:
654 655 656 |
# File 'lib/awsbase/right_awsbase.rb', line 654 def self.include_callback include XML::SaxParser::Callbacks end |
Instance Method Details
#on_cdata_block(cdata) ⇒ Object
685 686 687 |
# File 'lib/awsbase/right_awsbase.rb', line 685 def on_cdata_block(cdata) ; end |
#on_characters(chars) ⇒ Object
666 667 668 |
# File 'lib/awsbase/right_awsbase.rb', line 666 def on_characters(chars) @right_aws_parser.text(chars) end |
#on_comment(msg) ⇒ Object
677 678 679 |
# File 'lib/awsbase/right_awsbase.rb', line 677 def on_comment(msg) ; end |
#on_end_document ⇒ Object
689 690 |
# File 'lib/awsbase/right_awsbase.rb', line 689 def on_end_document; end |
#on_end_element(name) ⇒ Object
670 671 672 |
# File 'lib/awsbase/right_awsbase.rb', line 670 def on_end_element(name) @right_aws_parser.tag_end(name) end |
#on_processing_instruction(target, data) ⇒ Object
681 682 683 |
# File 'lib/awsbase/right_awsbase.rb', line 681 def on_processing_instruction(target, data) ; end |
#on_start_document ⇒ Object
674 675 |
# File 'lib/awsbase/right_awsbase.rb', line 674 def on_start_document; end |
#on_start_element(name, attr_hash) ⇒ Object
662 663 664 |
# File 'lib/awsbase/right_awsbase.rb', line 662 def on_start_element(name, attr_hash) @right_aws_parser.tag_start(name, attr_hash) end |