Package net.sbbi.upnp

Class JXPathParser

  • All Implemented Interfaces:
    org.apache.commons.jxpath.xml.XMLParser

    public class JXPathParser
    extends Object
    implements org.apache.commons.jxpath.xml.XMLParser
    Parser to use with JXPath, this is used to fix some problems encountered with some UPNP devices returning buggy xml docs... This parser acts like a wrapper and make some chars search and replace such as 0x0 with 0x20 to produce a valid XML doc.
    Version:
    1.0
    Author:
    SuperBonBon
    • Constructor Detail

      • JXPathParser

        public JXPathParser()
    • Method Detail

      • parseXML

        public Object parseXML​(InputStream in)
        Specified by:
        parseXML in interface org.apache.commons.jxpath.xml.XMLParser