Home » xml-commons-external-1.4.01-src » org.w3c » dom » [javadoc | source]
org.w3c.dom
public interface: DOMImplementation [javadoc | source]

All Known Implementing Classes:
    HTMLDOMImplementation, DOMImplementationCSS

The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.

See also the Document Object Model (DOM) Level 3 Core Specification.
Method from org.w3c.dom.DOMImplementation Summary:
createDocument,   createDocumentType,   getFeature,   hasFeature
Method from org.w3c.dom.DOMImplementation Detail:
 public Document createDocument(String namespaceURI,
    String qualifiedName,
    DocumentType doctype) throws DOMException
    Creates a DOM Document object of the specified type with its document element.
    Note that based on the DocumentType given to create the document, the implementation may instantiate specialized Document objects that support additional features than the "Core", such as "HTML" [DOM Level 2 HTML] . On the other hand, setting the DocumentType after the document was created makes this very unlikely to happen. Alternatively, specialized Document creation methods, such as createHTMLDocument [DOM Level 2 HTML] , can be used to obtain specific types of Document objects.
 public DocumentType createDocumentType(String qualifiedName,
    String publicId,
    String systemId) throws DOMException
    Creates an empty DocumentType node. Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not occur..
 public Object getFeature(String feature,
    String version)
    This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in . The specialized object may also be obtained by using binding-specific casting methods but is not necessarily expected to, as discussed in . This method also allow the implementation to provide specialized objects which do not support the DOMImplementation interface.
 public boolean hasFeature(String feature,
    String version)
    Test if the DOM implementation implements a specific feature and version, as specified in .