public class DocumentNode extends AbstractNodeInfo implements net.sf.saxon.om.DocumentInfo
Modifier and Type | Field and Description |
---|---|
Map<Node,ElementNode> |
nodeToElementNode
Mapping from AST Node to corresponding ElementNode.
|
protected ElementNode |
rootNode
The root ElementNode of the DocumentNode.
|
Constructor and Description |
---|
DocumentNode(Node node)
Construct a DocumentNode, with the given AST Node serving as the root
ElementNode.
|
Modifier and Type | Method and Description |
---|---|
net.sf.saxon.om.DocumentInfo |
getDocumentRoot() |
int |
getNodeKind() |
String[] |
getUnparsedEntity(String name) |
Iterator |
getUnparsedEntityNames() |
Object |
getUserData(String key) |
boolean |
hasChildNodes() |
boolean |
isTyped() |
net.sf.saxon.tree.iter.AxisIterator |
iterateAxis(byte axisNumber) |
net.sf.saxon.om.NodeInfo |
selectID(String id,
boolean getParent) |
void |
setUserData(String key,
Object value) |
atomize, compareOrder, copy, copy, createUnsupportedOperationException, equals, generateId, getAttributeValue, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getParent, getPrefix, getRealNode, getRoot, getSchemaType, getSiblingPosition, getStringValue, getStringValueCS, getSystemId, getTypeAnnotation, getTypedValue, getUnderlyingNode, getURI, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, setSystemId
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
atomize, compareOrder, copy, equals, generateId, getAttributeValue, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getParent, getPrefix, getRoot, getSchemaType, getStringValue, getSystemId, getTypeAnnotation, getURI, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis
setSystemId
protected final ElementNode rootNode
public final Map<Node,ElementNode> nodeToElementNode
public DocumentNode(Node node)
node
- The root AST Node.ElementNode
public String[] getUnparsedEntity(String name)
getUnparsedEntity
in interface net.sf.saxon.om.DocumentInfo
public Iterator getUnparsedEntityNames()
getUnparsedEntityNames
in interface net.sf.saxon.om.DocumentInfo
public void setUserData(String key, Object value)
setUserData
in interface net.sf.saxon.om.DocumentInfo
public Object getUserData(String key)
getUserData
in interface net.sf.saxon.om.DocumentInfo
public net.sf.saxon.om.NodeInfo selectID(String id, boolean getParent)
selectID
in interface net.sf.saxon.om.DocumentInfo
public int getNodeKind()
AbstractNodeInfo
getNodeKind
in interface net.sf.saxon.om.NodeInfo
getNodeKind
in class AbstractNodeInfo
public net.sf.saxon.om.DocumentInfo getDocumentRoot()
AbstractNodeInfo
getDocumentRoot
in interface net.sf.saxon.om.NodeInfo
getDocumentRoot
in class AbstractNodeInfo
public boolean hasChildNodes()
AbstractNodeInfo
hasChildNodes
in interface net.sf.saxon.om.NodeInfo
hasChildNodes
in class AbstractNodeInfo
public net.sf.saxon.tree.iter.AxisIterator iterateAxis(byte axisNumber)
AbstractNodeInfo
iterateAxis
in interface net.sf.saxon.om.NodeInfo
iterateAxis
in class AbstractNodeInfo
public boolean isTyped()
isTyped
in interface net.sf.saxon.om.DocumentInfo
Copyright © 2002–2017 InfoEther. All rights reserved.