Class TypeStrippedDocument

  • All Implemented Interfaces:
    javax.xml.transform.Source, TreeInfo

    public class TypeStrippedDocument
    extends GenericTreeInfo
    A TypeStrippedDocument represents a view of a real Document in which all nodes are untyped
    • Constructor Detail

      • TypeStrippedDocument

        public TypeStrippedDocument​(TreeInfo doc)
        Create a type-stripped view of a document
        Parameters:
        doc - the underlying document
    • Method Detail

      • selectID

        public NodeInfo selectID​(java.lang.String id,
                                 boolean getParent)
        Get the element with a given ID, if any
        Specified by:
        selectID in interface TreeInfo
        Overrides:
        selectID in class GenericTreeInfo
        Parameters:
        id - the required ID value
        getParent -
        Returns:
        the element with the given ID value, or null if there is none.