Class DocumentNode
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
-
- net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
-
- All Implemented Interfaces:
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
@Deprecated @InternalApi public class DocumentNode extends AbstractNodeInfo implements net.sf.saxon.om.DocumentInfo
Deprecated.A Saxon OM Document node for an AST Node.
-
-
Field Summary
Fields Modifier and Type Field Description Map<Node,ElementNode>nodeToElementNodeDeprecated.Mapping from AST Node to corresponding ElementNode.protected ElementNoderootNodeDeprecated.The root ElementNode of the DocumentNode.
-
Constructor Summary
Constructors Constructor Description DocumentNode(Node node)Deprecated.Construct a DocumentNode, with the given AST Node serving as the root ElementNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description net.sf.saxon.om.DocumentInfogetDocumentRoot()Deprecated.intgetNodeKind()Deprecated.String[]getUnparsedEntity(String name)Deprecated.IteratorgetUnparsedEntityNames()Deprecated.booleanhasChildNodes()Deprecated.net.sf.saxon.om.AxisIteratoriterateAxis(byte axisNumber)Deprecated.net.sf.saxon.om.NodeInfoselectID(String id)Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.om.NodeInfo
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
-
Methods inherited from interface javax.xml.transform.Source
isEmpty, setSystemId
-
-
-
-
Field Detail
-
rootNode
protected final ElementNode rootNode
Deprecated.The root ElementNode of the DocumentNode.
-
nodeToElementNode
public final Map<Node,ElementNode> nodeToElementNode
Deprecated.Mapping from AST Node to corresponding ElementNode.
-
-
Constructor Detail
-
DocumentNode
public DocumentNode(Node node)
Deprecated.Construct a DocumentNode, with the given AST Node serving as the root ElementNode.- Parameters:
node- The root AST Node.- See Also:
ElementNode
-
-
Method Detail
-
getUnparsedEntity
public String[] getUnparsedEntity(String name)
Deprecated.- Specified by:
getUnparsedEntityin interfacenet.sf.saxon.om.DocumentInfo
-
getUnparsedEntityNames
public Iterator getUnparsedEntityNames()
Deprecated.- Specified by:
getUnparsedEntityNamesin interfacenet.sf.saxon.om.DocumentInfo
-
selectID
public net.sf.saxon.om.NodeInfo selectID(String id)
Deprecated.- Specified by:
selectIDin interfacenet.sf.saxon.om.DocumentInfo
-
getNodeKind
public int getNodeKind()
Deprecated.- Specified by:
getNodeKindin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getNodeKindin classAbstractNodeInfo
-
getDocumentRoot
public net.sf.saxon.om.DocumentInfo getDocumentRoot()
Deprecated.- Specified by:
getDocumentRootin interfacenet.sf.saxon.om.NodeInfo- Overrides:
getDocumentRootin classAbstractNodeInfo
-
hasChildNodes
public boolean hasChildNodes()
Deprecated.- Specified by:
hasChildNodesin interfacenet.sf.saxon.om.NodeInfo- Overrides:
hasChildNodesin classAbstractNodeInfo
-
iterateAxis
public net.sf.saxon.om.AxisIterator iterateAxis(byte axisNumber)
Deprecated.- Specified by:
iterateAxisin interfacenet.sf.saxon.om.NodeInfo- Overrides:
iterateAxisin classAbstractNodeInfo
-
-