Class: RightAws::RightSaxParserCallback

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

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from RightSaxParserCallbackTemplate

#initialize, #on_cdata_block, #on_characters, #on_comment, #on_end_document, #on_processing_instruction, #on_start_document

Constructor Details

This class inherits a constructor from RightAws::RightSaxParserCallbackTemplate

Class Method Details

.include_callbackObject



1155
1156
1157
# File 'lib/awsbase/right_awsbase.rb', line 1155

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

Instance Method Details

#on_end_element(name) ⇒ Object



1161
1162
1163
# File 'lib/awsbase/right_awsbase.rb', line 1161

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

#on_start_element(name, attr_hash) ⇒ Object



1158
1159
1160
# File 'lib/awsbase/right_awsbase.rb', line 1158

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