javax.xml.transform.Source
, net.sf.saxon.evpull.PullEvent
, net.sf.saxon.om.DocumentInfo
, net.sf.saxon.om.Item
, net.sf.saxon.om.NodeInfo
, net.sf.saxon.om.SiblingCountingNode
, net.sf.saxon.om.ValueRepresentation
, net.sf.saxon.om.VirtualNode
public class DocumentNode extends AbstractNodeInfo implements net.sf.saxon.om.DocumentInfo
Modifier and Type | Field | Description |
---|---|---|
java.util.Map<Node,ElementNode> |
nodeToElementNode |
Mapping from AST Node to corresponding ElementNode.
|
protected ElementNode |
rootNode |
The root ElementNode of the DocumentNode.
|
Constructor | Description |
---|---|
DocumentNode(Node node) |
Construct a DocumentNode, with the given AST Node serving as the root
ElementNode.
|
Modifier and Type | Method | 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, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, setSystemId
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()
getNodeKind
in interface net.sf.saxon.om.NodeInfo
getNodeKind
in class AbstractNodeInfo
public net.sf.saxon.om.DocumentInfo getDocumentRoot()
getDocumentRoot
in interface net.sf.saxon.om.NodeInfo
getDocumentRoot
in class AbstractNodeInfo
public boolean hasChildNodes()
hasChildNodes
in interface net.sf.saxon.om.NodeInfo
hasChildNodes
in class AbstractNodeInfo
public net.sf.saxon.om.AxisIterator iterateAxis(byte axisNumber)
iterateAxis
in interface net.sf.saxon.om.NodeInfo
iterateAxis
in class AbstractNodeInfo
Copyright © 2002–2018 PMD. All rights reserved.