@DOMObjectAttribute @DOMNameAttribute(name="DOMImplementation") public interface IDOMImplementation
The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
Modifier and Type | Method and Description |
---|---|
Document |
createDocument(java.lang.String namespaceURI,
java.lang.String qualifiedName,
DocumentType doctype)
Creates a DOM Document object of the specified type with its document element.
|
DocumentType |
createDocumentType(java.lang.String qualifiedName,
java.lang.String publicId,
java.lang.String systemId)
Creates an empty DocumentType node.
|
Document |
createHTMLDocument(java.lang.String title)
Returns a document, with a basic tree already constructed including a title element, unless the title argument is omitted.
|
boolean |
hasFeature()
Test if the DOM implementation implements a specific feature and version, as specified in DOM Features.
|
boolean hasFeature()
Test if the DOM implementation implements a specific feature and version, as specified in DOM Features.
true
if the specified feature has feature; otherwise, false
.@DOMNameAttribute(name="createDocumentType") DocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)
Creates an empty DocumentType node. Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not occur.
qualifiedName
- Name of the qualified.publicId
- The public id.systemId
- The system id.DocumentType
.@DOMNameAttribute(name="createDocument") Document createDocument(@DOMNullableAttribute java.lang.String namespaceURI, java.lang.String qualifiedName, @DOMNullableAttribute DocumentType doctype)
Creates a DOM Document object of the specified type with its document element.
namespaceURI
- The namespace URI.qualifiedName
- Name of the qualified.doctype
- The doctype.@DOMNameAttribute(name="createHTMLDocument") Document createHTMLDocument(@DOMNullableAttribute java.lang.String title)
Returns a document, with a basic tree already constructed including a title element, unless the title argument is omitted.
title
- The title.