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
        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
        selectID in class GenericTreeInfo
        id - the required ID value
        getParent -
        the element with the given ID value, or null if there is none.