Class: XMLRPC::XMLParser::LibXMLStreamParser::LibXMLStreamListener
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
|
|
Inherits: | Object |
Defined in: | lib/xmlrpc/parser.rb |
Instance Attribute Summary
::XMLRPC::XMLParser::StreamParserMixin - Included
Instance Method Summary
- #method_missing(*a)
-
#on_cdata_block(data)
Alias for StreamParserMixin#character.
-
#on_characters(data)
Alias for StreamParserMixin#character.
- #on_end_element_ns(name, prefix, uri)
- #on_start_element_ns(name, attributes, prefix, uri, namespaces)
- #parse(str)
::XMLRPC::XMLParser::StreamParserMixin - Included
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*a)
[ GitHub ]# File 'lib/xmlrpc/parser.rb', line 837
def method_missing(*a) end
Instance Method Details
#on_cdata_block(data)
Alias for StreamParserMixin#character.
# File 'lib/xmlrpc/parser.rb', line 835
alias :on_cdata_block :character
#on_characters(data)
Alias for StreamParserMixin#character.
# File 'lib/xmlrpc/parser.rb', line 834
alias :on_characters :character
#on_end_element_ns(name, prefix, uri)
[ GitHub ]# File 'lib/xmlrpc/parser.rb', line 830
def on_end_element_ns(name, prefix, uri) endElement(name) end
#on_start_element_ns(name, attributes, prefix, uri, namespaces)
[ GitHub ]# File 'lib/xmlrpc/parser.rb', line 826
def on_start_element_ns(name, attributes, prefix, uri, namespaces) startElement(name) end
#parse(str)
[ GitHub ]# File 'lib/xmlrpc/parser.rb', line 840
def parse(str) parser = LibXML::XML::SaxParser.string(str) parser.callbacks = self parser.parse() end