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 {@link #getName}method.
ListgetExternalDeclarations()
Returns a list of internal DTD declaration objects, defined in the {@link org.dom4j.dtd}package
ListgetInternalDeclarations()
Returns a list of internal DTD declaration objects, defined in the {@link org.dom4j.dtd}package
StringgetPublicID()
StringgetSystemID()
voidsetElementName(String elementName)
This method is the equivalent to the {@link #setName}method.
voidsetExternalDeclarations(List declarations)
Sets the list of internal DTD declaration objects, defined in the {@link org.dom4j.dtd}package
voidsetInternalDeclarations(List declarations)
Sets the list of internal DTD declaration objects, defined in the {@link org.dom4j.dtd}package
voidsetPublicID(String publicID)
voidsetSystemID(String systemID)

Method Detail

getElementName

public String getElementName()
This method is the equivalent to the {@link #getName}method. 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 {@link org.dom4j.dtd}package

Returns: DOCUMENT ME!

getInternalDeclarations

public List getInternalDeclarations()
Returns a list of internal DTD declaration objects, defined in the {@link org.dom4j.dtd}package

Returns: DOCUMENT ME!

getPublicID

public String getPublicID()

getSystemID

public String getSystemID()

setElementName

public void setElementName(String elementName)
This method is the equivalent to the {@link #setName}method. 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 {@link org.dom4j.dtd}package

Parameters: declarations DOCUMENT ME!

setInternalDeclarations

public void setInternalDeclarations(List declarations)
Sets the list of internal DTD declaration objects, defined in the {@link org.dom4j.dtd}package

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