Represents the document type declaration
Not the document type definition!
Properties:
Root element name
Public ID (may be null)
System ID (may be null)
Internal DTD subset (read-only, may be null)
Limited to one per document, in the prolog only
public class DocType extends Node{
public DocType(String rootElementName, String publicID, String systemID);
public DocType(String rootElementName, String systemID);
public DocType(String rootElementName);
public DocType(DocType doctype);
public void setRootElementName(String name);
public final String getRootElementName();
public final String getInternalDTDSubset();
public String setInternalDTDSubset(String subset); // 1.1 and later
public void setPublicID(String id);
public final String getPublicID();
public void setSystemID(String id);
public final String getSystemID();
public final Node getChild(int i);
public final int getChildCount();
public final Node copy();
public final String toXML();
}