Interface HTMLDOMImplementation
- All Superinterfaces:
DOMImplementation
The
HTMLDOMImplementation
interface extends the
DOMImplementation
interface with a method for creating an
HTML document instance.- Since:
- 1.4, DOM Level 2
-
Method Summary
Modifier and TypeMethodDescriptioncreateHTMLDocument
(String title) Creates anHTMLDocument
object with the minimal tree made of the following elements:HTML
,HEAD
,TITLE
, andBODY
.Methods declared in interface DOMImplementation
createDocument, createDocumentType, getFeature, hasFeature
Modifier and TypeMethodDescriptioncreateDocument
(String namespaceURI, String qualifiedName, DocumentType doctype) Creates a DOM Document object of the specified type with its document element.createDocumentType
(String qualifiedName, String publicId, String systemId) Creates an emptyDocumentType
node.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 DOM Features.boolean
hasFeature
(String feature, String version) Test if the DOM implementation implements a specific feature and version, as specified in DOM Features.
-
Method Details
-
createHTMLDocument
Creates anHTMLDocument
object with the minimal tree made of the following elements:HTML
,HEAD
,TITLE
, andBODY
.- Parameters:
title
- The title of the document to be set as the content of theTITLE
element, through a childText
node.- Returns:
- A new
HTMLDocument
object.
-