Package net.sbbi.upnp
Class JXPathParser
- java.lang.Object
-
- net.sbbi.upnp.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 Summary
Constructors Constructor Description JXPathParser()
-
-
-
Method Detail
-
parseXML
public Object parseXML(InputStream in)
- Specified by:
parseXMLin interfaceorg.apache.commons.jxpath.xml.XMLParser
-
-