Class DocumentNode

  • All Implemented Interfaces:
    Source, net.sf.saxon.evpull.PullEvent, net.sf.saxon.om.DocumentInfo, 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 DocumentNode
    extends AbstractNodeInfo
    implements net.sf.saxon.om.DocumentInfo
    Deprecated.
    A Saxon OM Document node for an AST Node.
    • Field Detail

      • rootNode

        protected final ElementNode rootNode
        Deprecated.
        The root ElementNode of the DocumentNode.
      • nodeToElementNode

        public final Map<Node,​ElementNode> nodeToElementNode
        Deprecated.
        Mapping from AST Node to corresponding ElementNode.
    • Constructor Detail

      • DocumentNode

        public DocumentNode​(Node node)
        Deprecated.
        Construct a DocumentNode, with the given AST Node serving as the root ElementNode.
        Parameters:
        node - The root AST Node.
        See Also:
        ElementNode
    • Method Detail

      • getUnparsedEntity

        public String[] getUnparsedEntity​(String name)
        Deprecated.
        Specified by:
        getUnparsedEntity in interface net.sf.saxon.om.DocumentInfo
      • getUnparsedEntityNames

        public Iterator getUnparsedEntityNames()
        Deprecated.
        Specified by:
        getUnparsedEntityNames in interface net.sf.saxon.om.DocumentInfo
      • selectID

        public net.sf.saxon.om.NodeInfo selectID​(String id)
        Deprecated.
        Specified by:
        selectID in interface net.sf.saxon.om.DocumentInfo
      • getNodeKind

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

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

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

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