|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.ptree.PTreeSource
public class PTreeSource
A JAXP Source that maps to an XML document represented as a PTree on disk.
Constructor Summary | |
---|---|
PTreeSource()
|
Method Summary | |
---|---|
String |
getSystemId()
Get the system identifier that was set with setSystemId. |
DocumentInfo |
load(Configuration config)
Read the PTree and return the DocumentInfo representing the root node of the resulting in-memory tree |
void |
setSystemId(String systemId)
Set the system identifier for this Source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PTreeSource()
Method Detail |
---|
public String getSystemId()
getSystemId
in interface Source
public void setSystemId(String systemId)
The system identifier is optional if the source does not get its data from a URL, but it may still be useful to provide one. The application can use a system identifier, for example, to resolve relative URIs and to include in error messages and warnings.
setSystemId
in interface Source
systemId
- The system identifier as a URL string.public DocumentInfo load(Configuration config) throws XPathException
XPathException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |