public class DOMDocumentFactory extends DocumentFactory implements DOMImplementation
DOMDocumentFactory is a factory of DOM4J objects which
implement the W3C DOM API.
cache| Constructor and Description |
|---|
DOMDocumentFactory() |
createAttribute, createDocument, createDocument, createElement, createElement, createPattern, createQName, createQName, createQName, createQName, createQNameCache, createSingleton, createXPath, createXPath, createXPathFilter, createXPathFilter, getQNames, getXPathNamespaceURIs, init, intern, setXPathNamespaceURIsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFeaturepublic static DocumentFactory getInstance()
Access to the singleton instance of this factory.
public Document createDocument()
createDocument in class DocumentFactorypublic DocumentType createDocType(String name, String publicId, String systemId)
createDocType in class DocumentFactorypublic Element createElement(QName qname)
createElement in class DocumentFactorypublic Attribute createAttribute(Element owner, QName qname, String value)
createAttribute in class DocumentFactorypublic CDATA createCDATA(String text)
createCDATA in class DocumentFactorypublic Comment createComment(String text)
createComment in class DocumentFactorypublic Text createText(String text)
createText in class DocumentFactorypublic Entity createEntity(String name, String text)
createEntity in class DocumentFactorypublic Namespace createNamespace(String prefix, String uri)
createNamespace in class DocumentFactorypublic ProcessingInstruction createProcessingInstruction(String target, String data)
createProcessingInstruction in class DocumentFactorypublic ProcessingInstruction createProcessingInstruction(String target, Map data)
createProcessingInstruction in class DocumentFactorypublic boolean hasFeature(String feat, String version)
hasFeature in interface DOMImplementationpublic DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) throws DOMException
createDocumentType in interface DOMImplementationDOMExceptionpublic Document createDocument(String namespaceURI, String qualifiedName, DocumentType docType) throws DOMException
createDocument in interface DOMImplementationDOMExceptionprotected DOMDocumentType asDocumentType(DocumentType docType)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.