public class PTreeSource
extends java.lang.Object
implements javax.xml.transform.Source
Constructor and Description |
---|
PTreeSource() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSystemId()
Get the system identifier that was set with setSystemId.
|
TreeInfo |
load(Configuration config)
Read the PTree and return the DocumentInfo representing the root node of the resulting
in-memory tree
|
void |
setSystemId(java.lang.String systemId)
Set the system identifier for this Source.
|
public java.lang.String getSystemId()
getSystemId
in interface javax.xml.transform.Source
public void setSystemId(java.lang.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 javax.xml.transform.Source
systemId
- The system identifier as a URL string.public TreeInfo load(Configuration config) throws XPathException
XPathException
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.