org.dom4j
Interface DocumentType

All Superinterfaces:
java.lang.Cloneable, Node
All Known Implementing Classes:
AbstractDocumentType

public interface DocumentType
extends Node

DocumentType defines an XML DOCTYPE declaration.

Version:
$Revision: 1.8 $
Author:
James Strachan

Field Summary
 
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
 
Method Summary
 java.lang.String getElementName()
          This method is the equivalent to the Node.getName() method.
 java.util.List getExternalDeclarations()
          Returns a list of internal DTD declaration objects, defined in the org.dom4j.dtd package
 java.util.List getInternalDeclarations()
          Returns a list of internal DTD declaration objects, defined in the org.dom4j.dtd package
 java.lang.String getPublicID()
           
 java.lang.String getSystemID()
           
 void setElementName(java.lang.String elementName)
          This method is the equivalent to the Node.setName(java.lang.String) method.
 void setExternalDeclarations(java.util.List declarations)
          Sets the list of internal DTD declaration objects, defined in the org.dom4j.dtd package
 void setInternalDeclarations(java.util.List declarations)
          Sets the list of internal DTD declaration objects, defined in the org.dom4j.dtd package
 void setPublicID(java.lang.String publicID)
           
 void setSystemID(java.lang.String systemID)
           
 
Methods inherited from interface org.dom4j.Node
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write
 

Method Detail

getElementName

public java.lang.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

public void setElementName(java.lang.String elementName)
This method is the equivalent to the Node.setName(java.lang.String) method. It is added for clarity.


getPublicID

public java.lang.String getPublicID()

setPublicID

public void setPublicID(java.lang.String publicID)

getSystemID

public java.lang.String getSystemID()

setSystemID

public void setSystemID(java.lang.String systemID)

getInternalDeclarations

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


setInternalDeclarations

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


getExternalDeclarations

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


setExternalDeclarations

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



Copyright © 2004 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge Logo