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.



1024
1025
1026
# File 'lib/awsbase/right_awsbase.rb', line 1024

def initialize(right_aws_parser)
    @right_aws_parser = right_aws_parser
end

Class Method Details

.include_callbackObject

:nodoc:



1020
1021
1022
# File 'lib/awsbase/right_awsbase.rb', line 1020

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

Instance Method Details

#on_cdata_block(cdata) ⇒ Object



1051
1052
1053
# File 'lib/awsbase/right_awsbase.rb', line 1051

def on_cdata_block(cdata)
    ;
end

#on_characters(chars) ⇒ Object



1032
1033
1034
# File 'lib/awsbase/right_awsbase.rb', line 1032

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

#on_comment(msg) ⇒ Object



1043
1044
1045
# File 'lib/awsbase/right_awsbase.rb', line 1043

def on_comment(msg)
    ;
end

#on_end_documentObject



1055
1056
# File 'lib/awsbase/right_awsbase.rb', line 1055

def on_end_document;
end

#on_end_element(name) ⇒ Object



1036
1037
1038
# File 'lib/awsbase/right_awsbase.rb', line 1036

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

#on_processing_instruction(target, data) ⇒ Object



1047
1048
1049
# File 'lib/awsbase/right_awsbase.rb', line 1047

def on_processing_instruction(target, data)
    ;
end

#on_start_documentObject



1040
1041
# File 'lib/awsbase/right_awsbase.rb', line 1040

def on_start_document;
end

#on_start_element(name, attr_hash) ⇒ Object



1028
1029
1030
# File 'lib/awsbase/right_awsbase.rb', line 1028

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