Class: Aws::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

Returns a new instance of RightSaxParserCallback.



674
675
676
# File 'lib/awsbase/right_awsbase.rb', line 674

def initialize(right_aws_parser)
    @right_aws_parser = right_aws_parser
end

Class Method Details

.include_callbackObject

:nodoc:



670
671
672
# File 'lib/awsbase/right_awsbase.rb', line 670

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

Instance Method Details

#on_cdata_block(cdata) ⇒ Object



701
702
703
# File 'lib/awsbase/right_awsbase.rb', line 701

def on_cdata_block(cdata)
    ;
end

#on_characters(chars) ⇒ Object



682
683
684
# File 'lib/awsbase/right_awsbase.rb', line 682

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

#on_comment(msg) ⇒ Object



693
694
695
# File 'lib/awsbase/right_awsbase.rb', line 693

def on_comment(msg)
    ;
end

#on_end_documentObject



705
706
# File 'lib/awsbase/right_awsbase.rb', line 705

def on_end_document;
end

#on_end_element(name) ⇒ Object



686
687
688
# File 'lib/awsbase/right_awsbase.rb', line 686

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

#on_processing_instruction(target, data) ⇒ Object



697
698
699
# File 'lib/awsbase/right_awsbase.rb', line 697

def on_processing_instruction(target, data)
    ;
end

#on_start_documentObject



690
691
# File 'lib/awsbase/right_awsbase.rb', line 690

def on_start_document;
end

#on_start_element(name, attr_hash) ⇒ Object



678
679
680
# File 'lib/awsbase/right_awsbase.rb', line 678

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