Class: OpenNebula::OxStreamParser::OxParser

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

Instance Method Summary collapse

Instance Method Details

#parse(str) ⇒ Object



43
44
45
46
47
48
49
# File 'lib/opennebula/lib/xml_client.rb', line 43

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