Class GenericDocumentType

  • All Implemented Interfaces:
    java.io.Serializable, NodeEventTarget, ExtendedNode, NodeXBL, XBLManagerData, org.w3c.dom.DocumentType, org.w3c.dom.events.EventTarget, org.w3c.dom.Node

    public class GenericDocumentType
    extends AbstractChildNode
    implements org.w3c.dom.DocumentType
    This class implements the DocumentType interface.
    Version:
    $Id: GenericDocumentType.java 1808001 2017-09-11 09:51:29Z ssteiner $
    See Also:
    Serialized Form
    • Field Detail

      • qualifiedName

        protected java.lang.String qualifiedName
        The qualified name of the document element.
      • publicId

        protected java.lang.String publicId
        The DTD public ID, if specified.
      • systemId

        protected java.lang.String systemId
        The DTD system ID, if specified.
    • Constructor Detail

      • GenericDocumentType

        public GenericDocumentType​(java.lang.String qualifiedName,
                                   java.lang.String publicId,
                                   java.lang.String systemId)
        Creates a new DocumentType object.
    • Method Detail

      • getNodeName

        public java.lang.String getNodeName()
        DOM: Implements Node.getNodeName().
        Specified by:
        getNodeName in interface org.w3c.dom.Node
        Returns:
        The name of the DTD.
      • getNodeType

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

        public boolean isReadonly()
        Description copied from interface: ExtendedNode
        Tests whether this node is readonly.
        Specified by:
        isReadonly in interface ExtendedNode
      • setReadonly

        public void setReadonly​(boolean ro)
        Description copied from interface: ExtendedNode
        Sets this node readonly attribute.
        Specified by:
        setReadonly in interface ExtendedNode
      • getName

        public java.lang.String getName()
        DOM: Implements DocumentType.getName().
        Specified by:
        getName in interface org.w3c.dom.DocumentType
        Returns:
        The name of document element as specified in the DTD.
      • getEntities

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

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

        public java.lang.String getPublicId()
        DOM: Implements DocumentType.getPublicId().
        Specified by:
        getPublicId in interface org.w3c.dom.DocumentType
        Returns:
        The public id.
      • getSystemId

        public java.lang.String getSystemId()
        DOM: Implements DocumentType.getSystemId().
        Specified by:
        getSystemId in interface org.w3c.dom.DocumentType
        Returns:
        The public id.
      • getInternalSubset

        public java.lang.String getInternalSubset()
        DOM: Implements DocumentType.getInternalSubset().
        Specified by:
        getInternalSubset in interface org.w3c.dom.DocumentType
        Returns:
        The public id.
      • newNode

        protected org.w3c.dom.Node newNode()
        Description copied from class: AbstractNode
        Returns a new uninitialized instance of this object's class.
        Specified by:
        newNode in class AbstractNode