Class AttributeNode
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
-
- net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
-
- 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
@Deprecated @InternalApi public class AttributeNode extends AbstractNodeInfo
Deprecated.A Saxon OM Attribute node for an AST Node Attribute. Belongs to anElementNode
, and wraps anAttribute
.
-
-
Field Summary
Fields Modifier and Type Field Description protected Attribute
attribute
Deprecated.protected int
id
Deprecated.protected ElementNode
parent
protected net.sf.saxon.value.Value
value
Deprecated.
-
Constructor Summary
Constructors Constructor Description AttributeNode(ElementNode parent, Attribute attribute, int id)
Deprecated.Creates a new AttributeNode from a PMD Attribute.
-
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
getFingerprint()
String
getLocalPart()
Deprecated.int
getNameCode()
net.sf.saxon.om.NamePool
getNamePool()
int
getNodeKind()
net.sf.saxon.om.NodeInfo
getParent()
String
getPrefix()
CharSequence
getStringValueCS()
Deprecated.net.sf.saxon.om.SequenceIterator
getTypedValue()
Deprecated.String
getURI()
-
Methods inherited from class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
copy, createUnsupportedOperationException, equals, filter, generateId, getAttributeValue, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getLineNumber, getRoot, getSiblingPosition, getStringValue, getSystemId, getTypeAnnotation, getUnderlyingNode, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, 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
copy, equals, generateId, getAttributeValue, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getLineNumber, getRoot, getStringValue, getSystemId, getTypeAnnotation, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis
-
Methods inherited from interface javax.xml.transform.Source
isEmpty, setSystemId
-
-
-
-
Field Detail
-
attribute
protected final Attribute attribute
Deprecated.
-
id
protected final int id
Deprecated.
-
value
protected net.sf.saxon.value.Value value
Deprecated.
-
parent
protected final ElementNode parent
-
-
Constructor Detail
-
AttributeNode
public AttributeNode(ElementNode parent, Attribute attribute, int id)
Deprecated.Creates a new AttributeNode from a PMD Attribute.- Parameters:
parent
- Parent elemtnid
- The index within the attribute order
-
-
Method Detail
-
getLocalPart
public String getLocalPart()
Deprecated.- Specified by:
getLocalPart
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getLocalPart
in classAbstractNodeInfo
-
atomize
public net.sf.saxon.value.Value atomize()
Deprecated.- Specified by:
atomize
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
atomize
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
-
getTypedValue
public net.sf.saxon.om.SequenceIterator getTypedValue() throws net.sf.saxon.trans.XPathException
Deprecated.- Specified by:
getTypedValue
in interfacenet.sf.saxon.om.Item
- Overrides:
getTypedValue
in classAbstractNodeInfo
- Throws:
net.sf.saxon.trans.XPathException
-
compareOrder
public int compareOrder(net.sf.saxon.om.NodeInfo other)
Deprecated.- Specified by:
compareOrder
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
compareOrder
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
-
-