net.sbbi.upnp
Class JXPathParser

java.lang.Object
  extended bynet.sbbi.upnp.JXPathParser
All Implemented Interfaces:
org.apache.commons.jxpath.xml.XMLParser

public class JXPathParser
extends java.lang.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
 java.lang.Object parseXML(java.io.InputStream in)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JXPathParser

public JXPathParser()
Method Detail

parseXML

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


Copyright © 2005 SuperBonBon Industries. All Rights Reserved.