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



1163
1164
1165
# File 'lib/awsbase/right_awsbase.rb', line 1163

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

Instance Method Details

#on_end_element(name) ⇒ Object



1169
1170
1171
# File 'lib/awsbase/right_awsbase.rb', line 1169

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

#on_start_element(name, attr_hash) ⇒ Object



1166
1167
1168
# File 'lib/awsbase/right_awsbase.rb', line 1166

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