Class ElementNode
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
-
- net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
-
- All Implemented Interfaces:
Source
,net.sf.saxon.evpull.PullEvent
,net.sf.saxon.om.FingerprintedNode
,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
,net.sourceforge.pmd.lang.ast.xpath.internal.AstNodeOwner
@Deprecated @InternalApi public class ElementNode extends AbstractNodeInfo implements net.sourceforge.pmd.lang.ast.xpath.internal.AstNodeOwner
Deprecated.A Saxon OM Element type node for an AST Node.
-
-
Field Summary
Fields Modifier and Type Field Description protected net.sf.saxon.om.NodeInfo[]
children
Deprecated.protected DocumentNode
document
Deprecated.protected int
id
Deprecated.protected Node
node
Deprecated.protected ElementNode
parent
Deprecated.protected int
siblingPosition
Deprecated.
-
Constructor Summary
Constructors Constructor Description ElementNode(DocumentNode document, IdGenerator idGenerator, ElementNode parent, Node node, int siblingPosition)
Deprecated.ElementNode(DocumentNode document, IdGenerator idGenerator, ElementNode parent, Node node, int siblingPosition, net.sf.saxon.om.NamePool namePool)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description net.sf.saxon.value.Value
atomize()
Deprecated.int
compareOrder(net.sf.saxon.om.NodeInfo other)
Deprecated.String
getBaseURI()
int
getColumnNumber()
Deprecated.String
getDisplayName()
Deprecated.net.sf.saxon.om.DocumentInfo
getDocumentRoot()
Deprecated.int
getFingerprint()
int
getLineNumber()
Deprecated.String
getLocalPart()
Deprecated.int
getNameCode()
net.sf.saxon.om.NamePool
getNamePool()
int
getNodeKind()
net.sf.saxon.om.NodeInfo
getParent()
String
getPrefix()
int
getSiblingPosition()
Deprecated.String
getStringValue()
Deprecated.CharSequence
getStringValueCS()
Deprecated.net.sf.saxon.om.SequenceIterator
getTypedValue()
Deprecated.Node
getUnderlyingNode()
Deprecated.String
getURI()
boolean
hasChildNodes()
Deprecated.net.sf.saxon.om.AxisIterator
iterateAxis(byte axisNumber)
Deprecated.net.sf.saxon.om.AxisIterator
iterateAxis(byte axisNumber, net.sf.saxon.pattern.NodeTest nodeTest)
Deprecated.This implementation callsAbstractNodeInfo.iterateAxis(byte)
to get anAxisIterator
which is then optionally filtered usingNavigator.AxisFilter
.-
Methods inherited from class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
copy, createUnsupportedOperationException, equals, filter, generateId, getAttributeValue, getConfiguration, getDeclaredNamespaces, getDocumentNumber, getRoot, getSystemId, getTypeAnnotation, hashCode, isId, isIdref, isNilled, isSameNodeInfo, 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
copy, equals, generateId, getAttributeValue, getConfiguration, getDeclaredNamespaces, getDocumentNumber, getRoot, getSystemId, getTypeAnnotation, hashCode, isId, isIdref, isNilled, isSameNodeInfo
-
Methods inherited from interface javax.xml.transform.Source
isEmpty, setSystemId
-
-
-
-
Field Detail
-
document
protected final DocumentNode document
Deprecated.
-
parent
protected final ElementNode parent
Deprecated.
-
node
protected final Node node
Deprecated.
-
id
protected final int id
Deprecated.
-
siblingPosition
protected final int siblingPosition
Deprecated.
-
children
protected final net.sf.saxon.om.NodeInfo[] children
Deprecated.
-
-
Constructor Detail
-
ElementNode
@Deprecated public ElementNode(DocumentNode document, IdGenerator idGenerator, ElementNode parent, Node node, int siblingPosition)
Deprecated.
-
ElementNode
public ElementNode(DocumentNode document, IdGenerator idGenerator, ElementNode parent, Node node, int siblingPosition, net.sf.saxon.om.NamePool namePool)
Deprecated.
-
-
Method Detail
-
getUnderlyingNode
public Node getUnderlyingNode()
Deprecated.- Specified by:
getUnderlyingNode
in interfacenet.sourceforge.pmd.lang.ast.xpath.internal.AstNodeOwner
- Specified by:
getUnderlyingNode
in interfacenet.sf.saxon.om.VirtualNode
- Overrides:
getUnderlyingNode
in classAbstractNodeInfo
-
getSiblingPosition
public int getSiblingPosition()
Deprecated.- Specified by:
getSiblingPosition
in interfacenet.sf.saxon.om.SiblingCountingNode
- Overrides:
getSiblingPosition
in classAbstractNodeInfo
-
getColumnNumber
public int getColumnNumber()
Deprecated.- Specified by:
getColumnNumber
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getColumnNumber
in classAbstractNodeInfo
-
getLineNumber
public int getLineNumber()
Deprecated.- Specified by:
getLineNumber
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getLineNumber
in classAbstractNodeInfo
-
hasChildNodes
public boolean hasChildNodes()
Deprecated.- Specified by:
hasChildNodes
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
hasChildNodes
in classAbstractNodeInfo
-
getDocumentRoot
public net.sf.saxon.om.DocumentInfo getDocumentRoot()
Deprecated.- Specified by:
getDocumentRoot
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getDocumentRoot
in classAbstractNodeInfo
-
getLocalPart
public String getLocalPart()
Deprecated.- Specified by:
getLocalPart
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getLocalPart
in classAbstractNodeInfo
-
getTypedValue
public net.sf.saxon.om.SequenceIterator getTypedValue()
Deprecated.- Specified by:
getTypedValue
in interfacenet.sf.saxon.om.Item
- Overrides:
getTypedValue
in classAbstractNodeInfo
-
atomize
public net.sf.saxon.value.Value atomize()
Deprecated.- Specified by:
atomize
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
atomize
in classAbstractNodeInfo
-
getStringValue
public String getStringValue()
Deprecated.- Specified by:
getStringValue
in interfacenet.sf.saxon.om.Item
- Specified by:
getStringValue
in interfacenet.sf.saxon.om.NodeInfo
- Specified by:
getStringValue
in interfacenet.sf.saxon.om.ValueRepresentation
- Overrides:
getStringValue
in classAbstractNodeInfo
-
getStringValueCS
public CharSequence getStringValueCS()
Deprecated.- Specified by:
getStringValueCS
in interfacenet.sf.saxon.om.Item
- Specified by:
getStringValueCS
in interfacenet.sf.saxon.om.ValueRepresentation
- Overrides:
getStringValueCS
in classAbstractNodeInfo
-
compareOrder
public int compareOrder(net.sf.saxon.om.NodeInfo other)
Deprecated.- Specified by:
compareOrder
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
compareOrder
in classAbstractNodeInfo
-
getDisplayName
public String getDisplayName()
Deprecated.- Specified by:
getDisplayName
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getDisplayName
in classAbstractNodeInfo
-
iterateAxis
public net.sf.saxon.om.AxisIterator iterateAxis(byte axisNumber, net.sf.saxon.pattern.NodeTest nodeTest)
Deprecated.Description copied from class:AbstractNodeInfo
This implementation callsAbstractNodeInfo.iterateAxis(byte)
to get anAxisIterator
which is then optionally filtered usingNavigator.AxisFilter
.- Specified by:
iterateAxis
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
iterateAxis
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
-
getURI
public final String getURI()
- Specified by:
getURI
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getURI
in classAbstractNodeInfo
-
getBaseURI
public final String getBaseURI()
- Specified by:
getBaseURI
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getBaseURI
in classAbstractNodeInfo
-
getPrefix
public String getPrefix()
- Specified by:
getPrefix
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getPrefix
in classAbstractNodeInfo
-
getParent
public final net.sf.saxon.om.NodeInfo getParent()
- Specified by:
getParent
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getParent
in classAbstractNodeInfo
-
getNameCode
public int getNameCode()
- Specified by:
getNameCode
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getNameCode
in classAbstractNodeInfo
-
getFingerprint
public final int getFingerprint()
- Specified by:
getFingerprint
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getFingerprint
in classAbstractNodeInfo
-
getNamePool
public final net.sf.saxon.om.NamePool getNamePool()
- Specified by:
getNamePool
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getNamePool
in classAbstractNodeInfo
-
getNodeKind
public final int getNodeKind()
- Specified by:
getNodeKind
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getNodeKind
in classAbstractNodeInfo
-
-