Class AttributeNode
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
-
- net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
-
- All Implemented Interfaces:
javax.xml.transform.Source
,net.sf.saxon.evpull.PullEvent
,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 net.sf.saxon.value.Value
value
Deprecated.
-
Constructor Summary
Constructors Constructor Description AttributeNode(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.java.lang.String
getLocalPart()
Deprecated.int
getNodeKind()
Deprecated.java.lang.CharSequence
getStringValueCS()
Deprecated.net.sf.saxon.om.SequenceIterator
getTypedValue()
Deprecated.java.lang.String
getURI()
Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
copy, createUnsupportedOperationException, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getFingerprint, getLineNumber, getNameCode, getNamePool, getParent, getPrefix, getRoot, getSiblingPosition, getStringValue, getSystemId, getTypeAnnotation, getUnderlyingNode, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis, setSystemId
-
-
-
-
Field Detail
-
attribute
protected final Attribute attribute
Deprecated.
-
id
protected final int id
Deprecated.
-
value
protected net.sf.saxon.value.Value value
Deprecated.
-
-
Constructor Detail
-
AttributeNode
public AttributeNode(Attribute attribute, int id)
Deprecated.Creates a new AttributeNode from a PMD Attribute.- Parameters:
id
- The index within the attribute order
-
-
Method Detail
-
getNodeKind
public int getNodeKind()
Deprecated.- Specified by:
getNodeKind
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getNodeKind
in classAbstractNodeInfo
-
getLocalPart
public java.lang.String getLocalPart()
Deprecated.- Specified by:
getLocalPart
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getLocalPart
in classAbstractNodeInfo
-
getURI
public java.lang.String getURI()
Deprecated.- Specified by:
getURI
in interfacenet.sf.saxon.om.NodeInfo
- Overrides:
getURI
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 java.lang.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
-
-