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



1144
1145
1146
# File 'lib/awsbase/right_awsbase.rb', line 1144

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

Instance Method Details

#on_end_element(name) ⇒ Object



1150
1151
1152
# File 'lib/awsbase/right_awsbase.rb', line 1150

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

#on_start_element(name, attr_hash) ⇒ Object



1147
1148
1149
# File 'lib/awsbase/right_awsbase.rb', line 1147

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