public interface DocumentType extends Node
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
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementName()
This method is the equivalent to the
Node.getName() method. |
java.util.List<Decl> |
getExternalDeclarations()
Returns a list of internal DTD declaration objects, defined in the
org.dom4j.dtd package |
java.util.List<Decl> |
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<Decl> declarations)
Sets the list of internal DTD declaration objects, defined in the
org.dom4j.dtd package |
void |
setInternalDeclarations(java.util.List<Decl> 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) |
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
java.lang.String getElementName()
Node.getName()
method. It is added
for clarity.void setElementName(java.lang.String elementName)
Node.setName(java.lang.String)
method. It is added
for clarity.elementName
- DOCUMENT ME!java.lang.String getPublicID()
void setPublicID(java.lang.String publicID)
java.lang.String getSystemID()
void setSystemID(java.lang.String systemID)
java.util.List<Decl> getInternalDeclarations()
org.dom4j.dtd
packagevoid setInternalDeclarations(java.util.List<Decl> declarations)
org.dom4j.dtd
packagedeclarations
- DOCUMENT ME!java.util.List<Decl> getExternalDeclarations()
org.dom4j.dtd
packagevoid setExternalDeclarations(java.util.List<Decl> declarations)
org.dom4j.dtd
packagedeclarations
- DOCUMENT ME!