|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.stream.om.FleetingNode com.saxonica.stream.om.FleetingDocumentNode
public class FleetingDocumentNode
A Fleeting node (that is a transient node in a streamed document) that represents a document node
Field Summary |
---|
Fields inherited from class com.saxonica.stream.om.FleetingNode |
---|
root |
Fields inherited from interface net.sf.saxon.om.NodeInfo |
---|
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES |
Fields inherited from interface net.sf.saxon.om.ValueRepresentation |
---|
EMPTY_VALUE_ARRAY |
Constructor Summary | |
---|---|
FleetingDocumentNode()
|
Method Summary | |
---|---|
String |
getBaseURI()
Get the Base URI for the node, that is, the URI used for resolving a relative URI contained in the node. |
Configuration |
getConfiguration()
Get the configuration used to build the tree containing this node. |
long |
getDocumentNumber()
Get the document number of the document containing this node. |
NamePool |
getNamePool()
Get the NamePool that holds the namecode for this node |
String |
getSystemId()
Get the System ID for the node. |
String[] |
getUnparsedEntity(String name)
Get the unparsed entity with a given name |
Iterator<String> |
getUnparsedEntityNames()
Get the list of unparsed entities defined in this document |
NodeInfo |
selectID(String id,
boolean getParent)
Get the element with a given ID, if any |
void |
setConfiguration(Configuration config)
Set the configuration |
void |
setSystemId(String systemId)
Set the system identifier for this Source. |
Methods inherited from class com.saxonica.stream.om.FleetingNode |
---|
atomize, compareOrder, copy, generateId, getAttributeValue, getColumnNumber, getDeclaredNamespaces, getDisplayName, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNodeKind, getParent, getPrefix, getRoot, getStringValue, getStringValueCS, getTypeAnnotation, getTypedValue, getURI, hasChildNodes, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis, setNameCode, setNodeKind, setParent, setStringValue, setTypeAnnotation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.saxon.om.NodeInfo |
---|
atomize, compareOrder, copy, equals, generateId, getAttributeValue, getColumnNumber, getDeclaredNamespaces, getDisplayName, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNodeKind, getParent, getPrefix, getRoot, getStringValue, getTypeAnnotation, getURI, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis |
Methods inherited from interface net.sf.saxon.om.Item |
---|
getStringValueCS, getTypedValue |
Constructor Detail |
---|
public FleetingDocumentNode()
Method Detail |
---|
public void setConfiguration(Configuration config)
public NodeInfo selectID(String id, boolean getParent)
selectID
in interface DocumentInfo
id
- the required ID valuegetParent
-
public Iterator<String> getUnparsedEntityNames()
getUnparsedEntityNames
in interface DocumentInfo
public String[] getUnparsedEntity(String name)
getUnparsedEntity
in interface DocumentInfo
name
- the name of the entity
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
setSystemId
in class FleetingNode
systemId
- The system identifier as a URL string.public Configuration getConfiguration()
getConfiguration
in interface NodeInfo
getConfiguration
in class FleetingNode
public NamePool getNamePool()
getNamePool
in interface NodeInfo
getNamePool
in class FleetingNode
public long getDocumentNumber()
getDocumentNumber
in interface NodeInfo
getDocumentNumber
in class FleetingNode
public String getSystemId()
getSystemId
in interface Source
getSystemId
in interface NodeInfo
getSystemId
in class FleetingNode
public String getBaseURI()
getBaseURI
in interface NodeInfo
getBaseURI
in class FleetingNode
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |