net.sbbi.upnp
Class JXPathParser

java.lang.Object
  extended by 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
JXPathParser()
           
 
Method Summary
 Object parseXML(InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JXPathParser

public JXPathParser()
Method Detail

parseXML

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


Copyright © 2010. All Rights Reserved.