public class DocumentNode extends AbstractNodeInfo implements net.sf.saxon.om.DocumentInfo
Modifier and Type | Field and Description |
---|---|
java.util.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() |
java.lang.String[] |
getUnparsedEntity(java.lang.String name) |
java.util.Iterator |
getUnparsedEntityNames() |
boolean |
hasChildNodes() |
net.sf.saxon.om.AxisIterator |
iterateAxis(byte axisNumber) |
net.sf.saxon.om.NodeInfo |
selectID(java.lang.String id) |
atomize, compareOrder, copy, createUnsupportedOperationException, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getParent, getPrefix, getRoot, 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, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getParent, getPrefix, getRoot, getStringValue, getSystemId, getTypeAnnotation, getURI, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis
protected final ElementNode rootNode
public final java.util.Map<Node,ElementNode> nodeToElementNode
public DocumentNode(Node node)
node
- The root AST Node.ElementNode
public java.lang.String[] getUnparsedEntity(java.lang.String name)
getUnparsedEntity
in interface net.sf.saxon.om.DocumentInfo
public java.util.Iterator getUnparsedEntityNames()
getUnparsedEntityNames
in interface net.sf.saxon.om.DocumentInfo
public net.sf.saxon.om.NodeInfo selectID(java.lang.String id)
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.om.AxisIterator iterateAxis(byte axisNumber)
AbstractNodeInfo
iterateAxis
in interface net.sf.saxon.om.NodeInfo
iterateAxis
in class AbstractNodeInfo
Copyright © 2002-2014 InfoEther. All Rights Reserved.