Class: XMLRPC::XMLParser::REXMLStreamParser::StreamListener

Inherits:
Object
  • Object
show all
Includes:
StreamParserMixin
Defined in:
lib/xmlrpc/parser.rb

Instance Attribute Summary

Attributes included from StreamParserMixin

#fault, #method_name, #params

Instance Method Summary collapse

Methods included from StreamParserMixin

#character, #endElement, #initialize, #startElement

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*a) ⇒ Object



585
586
587
# File 'lib/xmlrpc/parser.rb', line 585

def method_missing(*a)
  # ignore
end

Instance Method Details

#parse(str) ⇒ Object



589
590
591
# File 'lib/xmlrpc/parser.rb', line 589

def parse(str)
  REXML::Document.parse_stream(str, self)
end