Interface DocumentType

All Superinterfaces:
Cloneable, Node
All Known Implementing Classes:
AbstractDocumentType, DefaultDocumentType, DOMDocumentType

public interface DocumentType extends Node
DocumentType defines an XML DOCTYPE declaration.
Version:
$Revision: 1.10 $
  • Method Details

    • getElementName

      String getElementName()
      This method is the equivalent to the Node.getName()method. It is added for clarity.
      Returns:
      the root element name for the document type.
    • setElementName

      void setElementName(String elementName)
      This method is the equivalent to the Node.setName(String)method. It is added for clarity.
      Parameters:
      elementName - DOCUMENT ME!
    • getPublicID

      String getPublicID()
    • setPublicID

      void setPublicID(String publicID)
    • getSystemID

      String getSystemID()
    • setSystemID

      void setSystemID(String systemID)
    • getInternalDeclarations

      List<Decl> getInternalDeclarations()
      Returns a list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage
      Returns:
      DOCUMENT ME!
    • setInternalDeclarations

      void setInternalDeclarations(List<Decl> declarations)
      Sets the list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage
      Parameters:
      declarations - DOCUMENT ME!
    • getExternalDeclarations

      List<Decl> getExternalDeclarations()
      Returns a list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage
      Returns:
      DOCUMENT ME!
    • setExternalDeclarations

      void setExternalDeclarations(List<Decl> declarations)
      Sets the list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage
      Parameters:
      declarations - DOCUMENT ME!