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