public class XPNReader
extends java.lang.Object
| Constructor and Description |
|---|
XPNReader(java.lang.String url)
Creates a new XPNReader for the given URILocation.
|
XPNReader(URILocation location)
Creates a new XPNReader for the given URILocation.
|
| Modifier and Type | Method and Description |
|---|---|
XPathNode |
read()
Reads an XML Document into an XPathNode from the given URILocation
|
void |
setSaveLocation(boolean saveLocation)
Sets whether or not to save location information.
|
public XPNReader(URILocation location) throws java.io.IOException
location - the URILocation to create this reader for.java.io.IOExceptionpublic XPNReader(java.lang.String url)
throws java.io.IOException
location - the URILocation to create this reader for.java.io.IOExceptionpublic XPathNode read() throws java.io.IOException
java.io.IOExceptionpublic void setSaveLocation(boolean saveLocation)
saveLocation - a boolean that when true, indicates that location
information should be saved if possible.