org.dom4j.tree
public class DefaultDocumentType extends AbstractDocumentType
DefaultDocumentType
is the DOM4J default implementation of an
XML document type.
Version: $Revision: 1.10 $
Field Summary | |
---|---|
protected String | elementName The root element name of the document typ |
Constructor Summary | |
---|---|
DefaultDocumentType() | |
DefaultDocumentType(String elementName, String systemID)
This will create a new | |
DefaultDocumentType(String elementName, String publicID, String systemID)
This will create a new |
Method Summary | |
---|---|
String | getElementName() |
List | getExternalDeclarations() |
List | getInternalDeclarations() |
String | getPublicID()
DOCUMENT ME!
|
String | getSystemID()
DOCUMENT ME!
|
void | setElementName(String elementName) |
void | setExternalDeclarations(List externalDeclarations) |
void | setInternalDeclarations(List internalDeclarations) |
void | setPublicID(String publicID)
Sets the public ID of the document type
|
void | setSystemID(String systemID)
Sets the system ID of the document type
|
This will create a new DocumentType
with a reference to
the external DTD
Parameters: elementName is the root element name of the document type systemID is the system ID of the external DTD
This will create a new DocumentType
with a reference to
the external DTD
Parameters: elementName is the root element name of the document type publicID is the public ID of the DTD systemID is the system ID of the DTD
Returns: the public ID of the document type
Returns: the system ID of the document type
Parameters: publicID DOCUMENT ME!
Parameters: systemID DOCUMENT ME!