01: /*
02: * Copyright (c) 2000 World Wide Web Consortium,
03: * (Massachusetts Institute of Technology, Institut National de
04: * Recherche en Informatique et en Automatique, Keio University). All
05: * Rights Reserved. This program is distributed under the W3C's Software
06: * Intellectual Property License. This program is distributed in the
07: * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
08: * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
09: * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
10: * details.
11: */
12:
13: package org.w3c.dom.html;
14:
15: import org.w3c.dom.DOMImplementation;
16:
17: /**
18: * The <code>HTMLDOMImplementation</code> interface extends the
19: * <code>DOMImplementation</code> interface with a method for creating an
20: * HTML document instance.
21: * @since DOM Level 2
22: */
23: public interface HTMLDOMImplementation extends DOMImplementation {
24: /**
25: * Creates an <code>HTMLDocument</code> object with the minimal tree made
26: * of the following elements: <code>HTML</code> , <code>HEAD</code> ,
27: * <code>TITLE</code> , and <code>BODY</code> .
28: * @param title The title of the document to be set as the content of the
29: * <code>TITLE</code> element, through a child <code>Text</code> node.
30: * @return A new <code>HTMLDocument</code> object.
31: */
32: public HTMLDocument createHTMLDocument(String title);
33:
34: }
|