| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.dom4j.tree.AbstractNode
org.dom4j.tree.AbstractDocumentType
org.dom4j.tree.DefaultDocumentType
 DefaultDocumentType is the DOM4J default implementation of an
 XML document type.
 
| Field Summary | |
| protected  String | elementNameThe root element name of the document typ | 
| Fields inherited from class org.dom4j.tree.AbstractNode | 
| NODE_TYPE_NAMES | 
| 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 | 
| Constructor Summary | |
| DefaultDocumentType() | |
| DefaultDocumentType(String elementName,
                    String systemID)This will create a new DocumentTypewith a reference to
 the external DTD | |
| DefaultDocumentType(String elementName,
                    String publicID,
                    String systemID)This will create a new DocumentTypewith a reference to
 the external DTD | |
| Method Summary | |
|  String | getElementName()This method is the equivalent to the AbstractDocumentType.getName()method. | 
|  List | getExternalDeclarations()Returns a list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage | 
|  List | getInternalDeclarations()Returns a list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage | 
|  String | getPublicID()DOCUMENT ME! | 
|  String | getSystemID()DOCUMENT ME! | 
|  void | setElementName(String elementName)This method is the equivalent to the AbstractDocumentType.setName(java.lang.String)method. | 
|  void | setExternalDeclarations(List externalDeclarations)Sets the list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage | 
|  void | setInternalDeclarations(List internalDeclarations)Sets the list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage | 
|  void | setPublicID(String publicID)Sets the public ID of the document type | 
|  void | setSystemID(String systemID)Sets the system ID of the document type | 
| Methods inherited from class org.dom4j.tree.AbstractDocumentType | 
| accept, asXML, getName, getNodeType, getPath, getText, getUniquePath, setName, toString, write | 
| Methods inherited from class org.dom4j.tree.AbstractNode | 
| asXPathResult, clone, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getDocument, getDocumentFactory, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf | 
| Methods inherited from class java.lang.Object | 
| equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface org.dom4j.Node | 
| asXPathResult, clone, createXPath, detach, getDocument, getNodeTypeName, getParent, getPath, getStringValue, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOf | 
| Field Detail | 
protected String elementName
| Constructor Detail | 
public DefaultDocumentType()
public DefaultDocumentType(String elementName,
                           String systemID)
 This will create a new DocumentType with a reference to
 the external DTD
 
elementName - is the root element name of the document typesystemID - is the system ID of the external DTD
public DefaultDocumentType(String elementName,
                           String publicID,
                           String systemID)
 This will create a new DocumentType with a reference to
 the external DTD
 
elementName - is the root element name of the document typepublicID - is the public ID of the DTDsystemID - is the system ID of the DTD| Method Detail | 
public String getElementName()
DocumentTypeNode.getName()method. It is added
 for clarity.
public void setElementName(String elementName)
DocumentTypeNode.setName(java.lang.String)method. It is added
 for clarity.
elementName - DOCUMENT ME!public String getPublicID()
public void setPublicID(String publicID)
publicID - DOCUMENT ME!public String getSystemID()
public void setSystemID(String systemID)
systemID - DOCUMENT ME!public List getInternalDeclarations()
DocumentTypeorg.dom4j.dtdpackage
public void setInternalDeclarations(List internalDeclarations)
DocumentTypeorg.dom4j.dtdpackage
internalDeclarations - DOCUMENT ME!public List getExternalDeclarations()
DocumentTypeorg.dom4j.dtdpackage
public void setExternalDeclarations(List externalDeclarations)
DocumentTypeorg.dom4j.dtdpackage
externalDeclarations - DOCUMENT ME!| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||