net.tomp2p.upnp
Class XMLUtil
java.lang.Object
net.tomp2p.upnp.XMLUtil
public class XMLUtil
- extends Object
Handy stuff for dealing with XML
- Author:
- ryanm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xpath
public static final XPath xpath
XPath
instance
XMLUtil
public XMLUtil()
getXMLString
public static String getXMLString(URL url)
- Parameters:
url
-
- Returns:
- the xml string at that url
getXML
public static Document getXML(URL url)
- Fetches the xml, fixes any wonky characters in it
- Parameters:
url
-
- Returns:
- The xml
Document
Copyright © 2013. All Rights Reserved.