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



980
981
982
# File 'lib/awsbase/right_awsbase.rb', line 980

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

Instance Method Details

#on_end_element(name) ⇒ Object



986
987
988
# File 'lib/awsbase/right_awsbase.rb', line 986

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

#on_start_element(name, attr_hash) ⇒ Object



983
984
985
# File 'lib/awsbase/right_awsbase.rb', line 983

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