Class 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 an ElementNode, and wraps an Attribute.
    • 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​(ElementNode parent,
                             Attribute attribute,
                             int id)
        Deprecated.
        Creates a new AttributeNode from a PMD Attribute.
        Parameters:
        parent - Parent elemtn
        id - The index within the attribute order
    • Method Detail

      • getLocalPart

        public String getLocalPart()
        Deprecated.
        Specified by:
        getLocalPart in interface net.sf.saxon.om.NodeInfo
        Overrides:
        getLocalPart in class AbstractNodeInfo
      • atomize

        public net.sf.saxon.value.Value atomize()
        Deprecated.
        Specified by:
        atomize in interface net.sf.saxon.om.NodeInfo
        Overrides:
        atomize in class AbstractNodeInfo
      • getStringValueCS

        public CharSequence getStringValueCS()
        Deprecated.
        Specified by:
        getStringValueCS in interface net.sf.saxon.om.Item
        Specified by:
        getStringValueCS in interface net.sf.saxon.om.ValueRepresentation
        Overrides:
        getStringValueCS in class AbstractNodeInfo
      • getTypedValue

        public net.sf.saxon.om.SequenceIterator getTypedValue()
                                                       throws net.sf.saxon.trans.XPathException
        Deprecated.
        Specified by:
        getTypedValue in interface net.sf.saxon.om.Item
        Overrides:
        getTypedValue in class AbstractNodeInfo
        Throws:
        net.sf.saxon.trans.XPathException
      • compareOrder

        public int compareOrder​(net.sf.saxon.om.NodeInfo other)
        Deprecated.
        Specified by:
        compareOrder in interface net.sf.saxon.om.NodeInfo
        Overrides:
        compareOrder in class AbstractNodeInfo
      • getURI

        public final String getURI()
        Specified by:
        getURI in interface net.sf.saxon.om.NodeInfo
        Overrides:
        getURI in class AbstractNodeInfo
      • getBaseURI

        public final String getBaseURI()
        Specified by:
        getBaseURI in interface net.sf.saxon.om.NodeInfo
        Overrides:
        getBaseURI in class AbstractNodeInfo
      • getParent

        public final net.sf.saxon.om.NodeInfo getParent()
        Specified by:
        getParent in interface net.sf.saxon.om.NodeInfo
        Overrides:
        getParent in class AbstractNodeInfo
      • getNameCode

        public int getNameCode()
        Specified by:
        getNameCode in interface net.sf.saxon.om.NodeInfo
        Overrides:
        getNameCode in class AbstractNodeInfo
      • getFingerprint

        public final int getFingerprint()
        Specified by:
        getFingerprint in interface net.sf.saxon.om.NodeInfo
        Overrides:
        getFingerprint in class AbstractNodeInfo
      • getNamePool

        public final net.sf.saxon.om.NamePool getNamePool()
        Specified by:
        getNamePool in interface net.sf.saxon.om.NodeInfo
        Overrides:
        getNamePool in class AbstractNodeInfo
      • getNodeKind

        public final int getNodeKind()
        Specified by:
        getNodeKind in interface net.sf.saxon.om.NodeInfo
        Overrides:
        getNodeKind in class AbstractNodeInfo