Enhydra 3.0.3 API

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 HTMLDocument createBasicDocument()
          Create a new HTMLDocument object, initialized with empty HTML, HEAD, TITLE and BODY elements.
static HTMLDocument createBasicDocument(java.lang.String title)
          Create a new HTMLDocument object, initialized with empty HTML, HEAD, TITLE and BODY elements.
static 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 HTMLDocument createDocument()
Create a new HTMLDocument object. The document will contain an empty HTML element.

createBasicDocument

public static 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 HTMLDocument createBasicDocument()
Create a new HTMLDocument object, initialized with empty HTML, HEAD, TITLE and BODY elements.

Enhydra 3.0.3 API