Class: Ox::StreamParser::OxParser

Inherits:
Ox::Sax
  • Object
show all
Includes:
XMLRPC::XMLParser::StreamParserMixin
Defined in:
lib/ox/xmlrpc_adapter.rb

Overview

The SAX wrapper.

Instance Method Summary collapse

Methods inherited from Ox::Sax

#initialize

Constructor Details

This class inherits a constructor from Ox::Sax

Instance Method Details

#parse(str) ⇒ Object

Initiates the sax parser with the provided string.



29
30
31
# File 'lib/ox/xmlrpc_adapter.rb', line 29

def parse(str)
  Ox.sax_parse(self, StringIO.new(str), :symbolize => false, :convert_special => true)
end