| java.lang.Object org.apache.xerces.dom.CoreDOMImplementationImpl org.apache.xerces.dom.DOMImplementationImpl
All known Subclasses: org.apache.xerces.dom.DeferredDOMImplementationImpl, org.apache.wml.dom.WMLDOMImplementationImpl, org.apache.xerces.dom.ASDOMImplementationImpl, org.apache.html.dom.HTMLDOMImplementationImpl,
DOMImplementationImpl | public class DOMImplementationImpl extends CoreDOMImplementationImpl implements DOMImplementation(Code) | | The DOMImplementation class is description of a particular
implementation of the Document Object Model. As such its data is
static, shared by all instances of this implementation.
The DOM API requires that it be a real object rather than static
methods. However, there's nothing that says it can't be a singleton,
so that's how I've implemented it.
version: $Id: DOMImplementationImpl.java 516291 2007-03-09 04:26:22Z mrglavas $ since: PR-DOM-Level-1-19980818. |
createDocument | public Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype) throws DOMException(Code) | | Introduced in DOM Level 2.
Creates an XML Document object of the specified type with its document
element.
Parameters: namespaceURI - The namespace URI of the documentelement to create, or null. Parameters: qualifiedName - The qualified name of the documentelement to create. Parameters: doctype - The type of document to be created or null. When doctype is not null, itsNode.ownerDocument attribute is set tothe document being created. Document A new Document object. throws: DOMException - WRONG_DOCUMENT_ERR: Raised if doctype hasalready been used with a different document. since: WD-DOM-Level-2-19990923 |
getDOMImplementation | public static DOMImplementation getDOMImplementation()(Code) | | NON-DOM: Obtain and return the single shared object
|
hasFeature | public boolean hasFeature(String feature, String version)(Code) | | Test if the DOM implementation supports a specific "feature" --
currently meaning language and level thereof.
Parameters: feature - The package name of the feature to test.In Level 1, supported values are "HTML" and "XML" (case-insensitive).At this writing, org.apache.xerces.dom supports only XML. Parameters: version - The version number of the feature being tested.This is interpreted as "Version of the DOM API supported for thespecified Feature", and in Level 1 should be "1.0" true iff this implementation is compatable with thespecified feature and version. |
Methods inherited from org.apache.xerces.dom.CoreDOMImplementationImpl | protected synchronized int assignDocTypeNumber()(Code)(Java Doc) protected synchronized int assignDocumentNumber()(Code)(Java Doc) final void checkQName(String qname)(Code)(Java Doc) public Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype) throws DOMException(Code)(Java Doc) public DocumentType createDocumentType(String qualifiedName, String publicID, String systemID)(Code)(Java Doc) public LSInput createLSInput()(Code)(Java Doc) public LSOutput createLSOutput()(Code)(Java Doc) public LSParser createLSParser(short mode, String schemaType) throws DOMException(Code)(Java Doc) public LSSerializer createLSSerializer()(Code)(Java Doc) public static DOMImplementation getDOMImplementation()(Code)(Java Doc) final synchronized XMLDTDLoader getDTDLoader(String xmlVersion)(Code)(Java Doc) public Object getFeature(String feature, String version)(Code)(Java Doc) synchronized RevalidationHandler getValidator(String schemaType, String xmlVersion)(Code)(Java Doc) public boolean hasFeature(String feature, String version)(Code)(Java Doc) final synchronized void releaseDTDLoader(String xmlVersion, XMLDTDLoader loader)(Code)(Java Doc) synchronized void releaseValidator(String schemaType, String xmlVersion, RevalidationHandler validator)(Code)(Java Doc)
|
|
|