Package org.dom4j
Interface DocumentType
-
- All Known Implementing Classes:
AbstractDocumentType,DefaultDocumentType,DOMDocumentType
public interface DocumentType extends Node
DocumentTypedefines an XML DOCTYPE declaration.
-
-
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetElementName()This method is the equivalent to theNode.getName()method.List<Decl>getExternalDeclarations()Returns a list of internal DTD declaration objects, defined in theorg.dom4j.dtdpackageList<Decl>getInternalDeclarations()Returns a list of internal DTD declaration objects, defined in theorg.dom4j.dtdpackageStringgetPublicID()StringgetSystemID()voidsetElementName(String elementName)This method is the equivalent to theNode.setName(java.lang.String)method.voidsetExternalDeclarations(List<Decl> declarations)Sets the list of internal DTD declaration objects, defined in theorg.dom4j.dtdpackagevoidsetInternalDeclarations(List<Decl> declarations)Sets the list of internal DTD declaration objects, defined in theorg.dom4j.dtdpackagevoidsetPublicID(String publicID)voidsetSystemID(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
String getElementName()
This method is the equivalent to theNode.getName()method. It is added for clarity.- Returns:
- the root element name for the document type.
-
setElementName
void setElementName(String elementName)
This method is the equivalent to theNode.setName(java.lang.String)method. It is added for clarity.- Parameters:
elementName- DOCUMENT ME!
-
getPublicID
String getPublicID()
-
setPublicID
void setPublicID(String publicID)
-
getSystemID
String getSystemID()
-
setSystemID
void setSystemID(String systemID)
-
getInternalDeclarations
List<Decl> getInternalDeclarations()
Returns a list of internal DTD declaration objects, defined in theorg.dom4j.dtdpackage- Returns:
- DOCUMENT ME!
-
setInternalDeclarations
void setInternalDeclarations(List<Decl> declarations)
Sets the list of internal DTD declaration objects, defined in theorg.dom4j.dtdpackage- Parameters:
declarations- DOCUMENT ME!
-
getExternalDeclarations
List<Decl> getExternalDeclarations()
Returns a list of internal DTD declaration objects, defined in theorg.dom4j.dtdpackage- Returns:
- DOCUMENT ME!
-
setExternalDeclarations
void setExternalDeclarations(List<Decl> declarations)
Sets the list of internal DTD declaration objects, defined in theorg.dom4j.dtdpackage- Parameters:
declarations- DOCUMENT ME!
-
-