org.enhydra.xml.xmlc.html
Class HTMLDocumentFactory

java.lang.Object
  |
  +--org.enhydra.xml.xmlc.html.HTMLDocumentFactory

public class HTMLDocumentFactory
extends java.lang.Object

Factory class for constructing new HTMLDocument objects without needing to know the implementing class.


Method Summary
static org.w3c.dom.html.HTMLDocument createBasicDocument()
          Create a new HTMLDocument object, initialized with empty HTML, HEAD, TITLE and BODY elements.
static org.w3c.dom.html.HTMLDocument createBasicDocument(java.lang.String title)
          Create a new HTMLDocument object, initialized with empty HTML, HEAD, TITLE and BODY elements.
static org.w3c.dom.html.HTMLDocument createDocument()
          Create a new HTMLDocument object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDocument

public static org.w3c.dom.html.HTMLDocument createDocument()
Create a new HTMLDocument object. The document will contain an empty HTML element.


createBasicDocument

public static org.w3c.dom.html.HTMLDocument createBasicDocument(java.lang.String title)
Create a new HTMLDocument object, initialized with empty HTML, HEAD, TITLE and BODY elements.

Parameters:
title - The title string to set in the header.

createBasicDocument

public static org.w3c.dom.html.HTMLDocument createBasicDocument()
Create a new HTMLDocument object, initialized with empty HTML, HEAD, TITLE and BODY elements.



Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.