org.dom4j

Interface DocumentType

public interface DocumentType extends Node

DocumentType defines an XML DOCTYPE declaration.

Version: $Revision: 1.10 $

Author: James Strachan

Method Summary
StringgetElementName()
This method is the equivalent to the DocumentTypemethod.
ListgetExternalDeclarations()
Returns a list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage
ListgetInternalDeclarations()
Returns a list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage
StringgetPublicID()
StringgetSystemID()
voidsetElementName(String elementName)
This method is the equivalent to the DocumentTypemethod.
voidsetExternalDeclarations(List declarations)
Sets the list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage
voidsetInternalDeclarations(List declarations)
Sets the list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage
voidsetPublicID(String publicID)
voidsetSystemID(String systemID)

Method Detail

getElementName

public String getElementName()
This method is the equivalent to the DocumentTypemethod. It is added for clarity.

Returns: the root element name for the document type.

getExternalDeclarations

public List getExternalDeclarations()
Returns a list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage

Returns: DOCUMENT ME!

getInternalDeclarations

public List getInternalDeclarations()
Returns a list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage

Returns: DOCUMENT ME!

getPublicID

public String getPublicID()

getSystemID

public String getSystemID()

setElementName

public void setElementName(String elementName)
This method is the equivalent to the DocumentTypemethod. It is added for clarity.

Parameters: elementName DOCUMENT ME!

setExternalDeclarations

public void setExternalDeclarations(List declarations)
Sets the list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage

Parameters: declarations DOCUMENT ME!

setInternalDeclarations

public void setInternalDeclarations(List declarations)
Sets the list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage

Parameters: declarations DOCUMENT ME!

setPublicID

public void setPublicID(String publicID)

setSystemID

public void setSystemID(String systemID)
Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge