org.dom4j.tree
public class DefaultDocument extends AbstractDocument
DefaultDocument
is the default DOM4J default implementation of
an XML document.
Version: $Revision: 1.34 $
Field Summary | |
---|---|
protected static Iterator | EMPTY_ITERATOR |
protected static List | EMPTY_LIST |
Constructor Summary | |
---|---|
DefaultDocument() | |
DefaultDocument(String name) | |
DefaultDocument(Element rootElement) | |
DefaultDocument(DocumentType docType) | |
DefaultDocument(Element rootElement, DocumentType docType) | |
DefaultDocument(String name, Element rootElement, DocumentType docType) |
Method Summary | |
---|---|
Document | addDocType(String docTypeName, String publicId, String systemId) |
protected void | addNode(Node node) |
protected void | addNode(int index, Node node) |
void | clearContent() |
Object | clone() |
protected List | contentList() |
DocumentType | getDocType() |
protected DocumentFactory | getDocumentFactory() |
EntityResolver | getEntityResolver() |
String | getName() |
Element | getRootElement() |
String | getXMLEncoding() |
ProcessingInstruction | processingInstruction(String target) |
List | processingInstructions() |
List | processingInstructions(String target) |
protected boolean | removeNode(Node node) |
boolean | removeProcessingInstruction(String target) |
protected void | rootElementAdded(Element element) |
void | setContent(List content) |
void | setDocType(DocumentType docType) |
void | setDocumentFactory(DocumentFactory documentFactory) |
void | setEntityResolver(EntityResolver entityResolver) |
void | setName(String name) |