Class: RightAws::RightSaxParserCallback

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

Overview


Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(right_aws_parser) ⇒ RightSaxParserCallback



754
755
756
# File 'lib/awsbase/right_awsbase.rb', line 754

def initialize(right_aws_parser) 
  @right_aws_parser = right_aws_parser 
end

Class Method Details

.include_callbackObject

:nodoc:



751
752
753
# File 'lib/awsbase/right_awsbase.rb', line 751

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

Instance Method Details

#on_cdata_block(cdata) ⇒ Object



769
# File 'lib/awsbase/right_awsbase.rb', line 769

def on_cdata_block(cdata); end

#on_characters(chars) ⇒ Object



760
761
762
# File 'lib/awsbase/right_awsbase.rb', line 760

def on_characters(chars) 
  @right_aws_parser.text(chars)
end

#on_comment(msg) ⇒ Object



767
# File 'lib/awsbase/right_awsbase.rb', line 767

def on_comment(msg); end

#on_end_documentObject



770
# File 'lib/awsbase/right_awsbase.rb', line 770

def on_end_document; end

#on_end_element(name) ⇒ Object



763
764
765
# File 'lib/awsbase/right_awsbase.rb', line 763

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

#on_processing_instruction(target, data) ⇒ Object



768
# File 'lib/awsbase/right_awsbase.rb', line 768

def on_processing_instruction(target, data); end

#on_start_documentObject



766
# File 'lib/awsbase/right_awsbase.rb', line 766

def on_start_document; end

#on_start_element(name, attr_hash) ⇒ Object



757
758
759
# File 'lib/awsbase/right_awsbase.rb', line 757

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