站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

HTMLDOMImplementation (Common DOM API) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Common DOM API

org.w3c.dom.html
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:
DOM Level 2

Method Summary
 HTMLDocument createHTMLDocument(String title)
          Creates an HTMLDocument object with the minimal tree made of the following elements: HTML , HEAD , TITLE , and BODY .
 
Methods inherited from interface org.w3c.dom.DOMImplementation
createDocument, createDocumentType, getFeature, hasFeature
 

Method Detail

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 the TITLE element, through a child Text node.
Returns:
A new HTMLDocument object.

Common DOM API

Submit a bug or feature
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 2006 Sun Microsystems, Inc. 4150 Network Circle
Santa Clara, California, 95054, U.S.A. All Rights Reserved.