Class AbstractDocumentFragment

    • Constructor Detail

      • AbstractDocumentFragment

        public AbstractDocumentFragment()
    • Method Detail

      • getNodeName

        public java.lang.String getNodeName()
        DOM: Implements Node.getNodeName().
        Specified by:
        getNodeName in interface org.w3c.dom.Node
        Returns:
        "#document-fragment".
      • getNodeType

        public short getNodeType()
        DOM: Implements Node.getNodeType().
        Specified by:
        getNodeType in interface org.w3c.dom.Node
        Returns:
        Node.DOCUMENT_FRAGMENT_NODE
      • checkChildType

        protected void checkChildType​(org.w3c.dom.Node n,
                                      boolean replace)
        Checks the validity of a node to be inserted.
        Overrides:
        checkChildType in class AbstractNode