123456789_123456789_123456789_123456789_123456789_

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

Instance Method Summary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*a)

[ GitHub ]

  
# File 'lib/xmlrpc/parser.rb', line 838

def method_missing(*a)
end

Instance Method Details

#on_cdata_block(data)

[ GitHub ]

  
# File 'lib/xmlrpc/parser.rb', line 836

alias :on_cdata_block :character

#on_characters(data)

[ GitHub ]

  
# File 'lib/xmlrpc/parser.rb', line 835

alias :on_characters :character

#on_end_element_ns(name, prefix, uri)

[ GitHub ]

  
# File 'lib/xmlrpc/parser.rb', line 831

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 827

def on_start_element_ns(name, attributes, prefix, uri, namespaces)
  startElement(name)
end

#parse(str)

[ GitHub ]

  
# File 'lib/xmlrpc/parser.rb', line 841

def parse(str)
  parser = LibXML::XML::SaxParser.string(str)
  parser.callbacks = self
  parser.parse()
end