org.dom4j.dom
public class DOMDocumentFactory extends DocumentFactory implements DOMImplementation
DOMDocumentFactory
is a factory of DOM4J objects which
implement the W3C DOM API.
Version: $Revision: 1.21 $
Method Summary | |
---|---|
protected DOMDocumentType | asDocumentType(DocumentType docType) |
Attribute | createAttribute(Element owner, QName qname, String value) |
CDATA | createCDATA(String text) |
Comment | createComment(String text) |
DocumentType | createDocType(String name, String publicId, String systemId) |
Document | createDocument() |
Document | createDocument(String namespaceURI, String qualifiedName, DocumentType docType) |
DocumentType | createDocumentType(String qualifiedName, String publicId, String systemId) |
Element | createElement(QName qname) |
Element | createElement(QName qname, int attributeCount) |
Entity | createEntity(String name) |
Entity | createEntity(String name, String text) |
Namespace | createNamespace(String prefix, String uri) |
ProcessingInstruction | createProcessingInstruction(String target, String data) |
ProcessingInstruction | createProcessingInstruction(String target, Map data) |
Text | createText(String text) |
static DocumentFactory | getInstance() Access to the singleton instance of this factory. |
boolean | hasFeature(String feat, String version) |
Access to the singleton instance of this factory.
Returns: the default singleon instance