Interface HTMLDOMImplementation
- All Superinterfaces:
DOMImplementation
public interface HTMLDOMImplementation extends DOMImplementation
The HTMLDOMImplementation
interface extends the DOMImplementation
interface with a method for creating an HTML document instance.
- Since:
- 1.4, DOM Level 2
Methods
Modifier and Type | Method | Description |
---|---|---|
HTMLDocument | createHTMLDocument(String title) | Creates an |
Methods declared in interface org.w3c.dom.DOMImplementation
createDocument, createDocumentType, getFeature, hasFeature
Methods
createHTMLDocument
HTMLDocument createHTMLDocument(String title)
Creates an HTMLDocument
object with the minimal tree made of the following elements: HTML
, HEAD
, TITLE
, and BODY
.
- 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.
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/jdk.xml.dom/org/w3c/dom/html/HTMLDOMImplementation.html