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.



956
957
958
# File 'lib/awsbase/right_awsbase.rb', line 956

def initialize(right_aws_parser)
    @right_aws_parser = right_aws_parser
end

Class Method Details

.include_callbackObject

:nodoc:



952
953
954
# File 'lib/awsbase/right_awsbase.rb', line 952

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

Instance Method Details

#on_cdata_block(cdata) ⇒ Object



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

def on_cdata_block(cdata)
    ;
end

#on_characters(chars) ⇒ Object



964
965
966
# File 'lib/awsbase/right_awsbase.rb', line 964

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

#on_comment(msg) ⇒ Object



975
976
977
# File 'lib/awsbase/right_awsbase.rb', line 975

def on_comment(msg)
    ;
end

#on_end_documentObject



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

def on_end_document;
end

#on_end_element(name) ⇒ Object



968
969
970
# File 'lib/awsbase/right_awsbase.rb', line 968

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

#on_processing_instruction(target, data) ⇒ Object



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

def on_processing_instruction(target, data)
    ;
end

#on_start_documentObject



972
973
# File 'lib/awsbase/right_awsbase.rb', line 972

def on_start_document;
end

#on_start_element(name, attr_hash) ⇒ Object



960
961
962
# File 'lib/awsbase/right_awsbase.rb', line 960

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