Class DocumentTypeImpl

  • All Implemented Interfaces:
    ModelNode, ScriptableDelegate, org.w3c.dom.DocumentType, org.w3c.dom.Node

    public class DocumentTypeImpl
    extends NodeImpl
    implements org.w3c.dom.DocumentType
    • Constructor Detail

      • DocumentTypeImpl

        public DocumentTypeImpl​(java.lang.String qname,
                                java.lang.String publicId,
                                java.lang.String systemId)
    • Method Detail

      • getLocalName

        public java.lang.String getLocalName()
        Specified by:
        getLocalName in interface org.w3c.dom.Node
        Specified by:
        getLocalName in class NodeImpl
      • getNodeName

        public java.lang.String getNodeName()
        Specified by:
        getNodeName in interface org.w3c.dom.Node
        Specified by:
        getNodeName in class NodeImpl
      • getNodeValue

        public java.lang.String getNodeValue()
                                      throws org.w3c.dom.DOMException
        Specified by:
        getNodeValue in interface org.w3c.dom.Node
        Specified by:
        getNodeValue in class NodeImpl
        Throws:
        org.w3c.dom.DOMException
      • setNodeValue

        public void setNodeValue​(java.lang.String nodeValue)
                          throws org.w3c.dom.DOMException
        Specified by:
        setNodeValue in interface org.w3c.dom.Node
        Specified by:
        setNodeValue in class NodeImpl
        Throws:
        org.w3c.dom.DOMException
      • getNodeType

        public short getNodeType()
        Specified by:
        getNodeType in interface org.w3c.dom.Node
        Specified by:
        getNodeType in class NodeImpl
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface org.w3c.dom.DocumentType
      • getEntities

        public org.w3c.dom.NamedNodeMap getEntities()
        Specified by:
        getEntities in interface org.w3c.dom.DocumentType
      • getNotations

        public org.w3c.dom.NamedNodeMap getNotations()
        Specified by:
        getNotations in interface org.w3c.dom.DocumentType
      • getPublicId

        public java.lang.String getPublicId()
        Specified by:
        getPublicId in interface org.w3c.dom.DocumentType
      • getSystemId

        public java.lang.String getSystemId()
        Specified by:
        getSystemId in interface org.w3c.dom.DocumentType
      • getInternalSubset

        public java.lang.String getInternalSubset()
        Specified by:
        getInternalSubset in interface org.w3c.dom.DocumentType
      • createSimilarNode

        protected org.w3c.dom.Node createSimilarNode()
        Description copied from class: NodeImpl
        Should create a node with some cloned properties, like the node name, but not attributes or children.
        Specified by:
        createSimilarNode in class NodeImpl