Class: Aws::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.
1039 1040 1041 |
# File 'lib/awsbase/right_awsbase.rb', line 1039 def initialize(right_aws_parser) @right_aws_parser = right_aws_parser end |
Class Method Details
.include_callback ⇒ Object
:nodoc:
1035 1036 1037 |
# File 'lib/awsbase/right_awsbase.rb', line 1035 def self.include_callback include XML::SaxParser::Callbacks end |
Instance Method Details
#on_cdata_block(cdata) ⇒ Object
1066 1067 1068 |
# File 'lib/awsbase/right_awsbase.rb', line 1066 def on_cdata_block(cdata) ; end |
#on_characters(chars) ⇒ Object
1047 1048 1049 |
# File 'lib/awsbase/right_awsbase.rb', line 1047 def on_characters(chars) @right_aws_parser.text(chars) end |
#on_comment(msg) ⇒ Object
1058 1059 1060 |
# File 'lib/awsbase/right_awsbase.rb', line 1058 def on_comment(msg) ; end |
#on_end_document ⇒ Object
1070 1071 |
# File 'lib/awsbase/right_awsbase.rb', line 1070 def on_end_document; end |
#on_end_element(name) ⇒ Object
1051 1052 1053 |
# File 'lib/awsbase/right_awsbase.rb', line 1051 def on_end_element(name) @right_aws_parser.tag_end(name) end |
#on_processing_instruction(target, data) ⇒ Object
1062 1063 1064 |
# File 'lib/awsbase/right_awsbase.rb', line 1062 def on_processing_instruction(target, data) ; end |
#on_start_document ⇒ Object
1055 1056 |
# File 'lib/awsbase/right_awsbase.rb', line 1055 def on_start_document; end |
#on_start_element(name, attr_hash) ⇒ Object
1043 1044 1045 |
# File 'lib/awsbase/right_awsbase.rb', line 1043 def on_start_element(name, attr_hash) @right_aws_parser.tag_start(name, attr_hash) end |