org.dom4j
Interface DocumentType
- Cloneable, Node
public interface DocumentType
DocumentType
defines an XML DOCTYPE declaration.
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 |
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 |
getElementName
public String getElementName()
This method is the equivalent to the DocumentType
method. It is added
for clarity.
- 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.dtd
package
getInternalDeclarations
public List getInternalDeclarations()
Returns a list of internal DTD declaration objects, defined in the
org.dom4j.dtd
package
getPublicID
public String getPublicID()
getSystemID
public String getSystemID()
setElementName
public void setElementName(String elementName)
This method is the equivalent to the DocumentType
method. It is added
for clarity.
elementName
- DOCUMENT ME!
setExternalDeclarations
public void setExternalDeclarations(List declarations)
Sets the list of internal DTD declaration objects, defined in the
org.dom4j.dtd
package
declarations
- DOCUMENT ME!
setInternalDeclarations
public void setInternalDeclarations(List declarations)
Sets the list of internal DTD declaration objects, defined in the
org.dom4j.dtd
package
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 