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>
nodeToElementNode
Deprecated.Mapping from AST Node to corresponding ElementNode.protected ElementNode
rootNode
Deprecated.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.DocumentInfo
getDocumentRoot()
Deprecated.int
getNodeKind()
Deprecated.String[]
getUnparsedEntity(String name)
Deprecated.Iterator
getUnparsedEntityNames()
Deprecated.boolean
hasChildNodes()
Deprecated.net.sf.saxon.om.AxisIterator
iterateAxis(byte axisNumber)
Deprecated.net.sf.saxon.om.NodeInfo
selectID(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:
getUnparsedEntity
in interfacenet.sf.saxon.om.DocumentInfo
-
getUnparsedEntityNames
public Iterator getUnparsedEntityNames()
Deprecated.- Specified by:
getUnparsedEntityNames
in interfacenet.sf.saxon.om.DocumentInfo
-
selectID
public net.sf.saxon.om.NodeInfo selectID(String id)
Deprecated.- Specified by:
selectID
in interfacenet.sf.saxon.om.DocumentInfo
-
getNodeKind
public int getNodeKind()
Deprecated.- Specified by:
getNodeKind
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getNodeKind
in classAbstractNodeInfo
-
getDocumentRoot
public net.sf.saxon.om.DocumentInfo getDocumentRoot()
Deprecated.- Specified by:
getDocumentRoot
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getDocumentRoot
in classAbstractNodeInfo
-
hasChildNodes
public boolean hasChildNodes()
Deprecated.- Specified by:
hasChildNodes
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
hasChildNodes
in classAbstractNodeInfo
-
iterateAxis
public net.sf.saxon.om.AxisIterator iterateAxis(byte axisNumber)
Deprecated.- Specified by:
iterateAxis
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
iterateAxis
in classAbstractNodeInfo
-
-