Class ElementNode

  • 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

    public class ElementNode
    extends AbstractNodeInfo
    A Saxon OM Element type node for an AST Node.
    • Field Detail

      • node

        protected final Node node
      • id

        protected final int id
      • siblingPosition

        protected final int siblingPosition
      • children

        protected final net.sf.saxon.om.NodeInfo[] children
    • Method Detail

      • getUnderlyingNode

        public java.lang.Object getUnderlyingNode()
        Specified by:
        getUnderlyingNode in interface net.sf.saxon.om.VirtualNode
        Overrides:
        getUnderlyingNode in class AbstractNodeInfo
      • getSiblingPosition

        public int getSiblingPosition()
        Specified by:
        getSiblingPosition in interface net.sf.saxon.om.SiblingCountingNode
        Overrides:
        getSiblingPosition in class AbstractNodeInfo
      • getColumnNumber

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

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

        public boolean hasChildNodes()
        Specified by:
        hasChildNodes in interface net.sf.saxon.om.NodeInfo
        Overrides:
        hasChildNodes in class AbstractNodeInfo
      • getNodeKind

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

        public net.sf.saxon.om.DocumentInfo getDocumentRoot()
        Specified by:
        getDocumentRoot in interface net.sf.saxon.om.NodeInfo
        Overrides:
        getDocumentRoot in class AbstractNodeInfo
      • getLocalPart

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

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

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

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

        public net.sf.saxon.om.AxisIterator iterateAxis​(byte axisNumber)
        Specified by:
        iterateAxis in interface net.sf.saxon.om.NodeInfo
        Overrides:
        iterateAxis in class AbstractNodeInfo