org.w3c.dom.html
Interface HTMLDOMImplementation
- All Superinterfaces:
- DOMImplementation
- All Known Implementing Classes:
- XhtmlDomImpl
- public interface HTMLDOMImplementation
- extends DOMImplementation
The HTMLDOMImplementation
interface extends the
DOMImplementation
interface with a method for creating an
HTML document instance.
See also the Document Object Model (DOM) Level 2 Specification.
- Since:
- DOM Level 2
Method Summary |
HTMLDocument |
createHTMLDocument(java.lang.String title)
Creates an HTMLDocument object with the minimal tree made
of the following elements: HTML , HEAD ,
TITLE , and BODY . |
createHTMLDocument
public HTMLDocument createHTMLDocument(java.lang.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 the
TITLE
element, through a child Text
node.- Returns:
- A new
HTMLDocument
object.