EspressChart
v 5.5

quadbase.common.param
Class HtmlWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--java.io.PrintWriter
              |
              +--quadbase.common.param.HtmlWriter
Direct Known Subclasses:
CssHtmlWriter

public class HtmlWriter
extends java.io.PrintWriter

A Writer that writes html code


Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
HtmlWriter(java.io.PrintWriter out)
          Allocates a HtmlWriter that writes to out
 
Method Summary
 void body()
          Prints the <BODY> tag
 void body(java.lang.String attributes)
          Prints the <BODY> tag
 void bodyEnd()
          Prints the </BODY> tag
 void br()
          Prints the <BR> tag
 void center()
          Prints the <CENTER> tag
 void centerEnd()
          Prints the </CENTER> tag
 void div()
          Prints the <DIV> tag
 void divEnd()
          Prints the </DIV> tag
 void font()
          Prints the <FONT> tag
 void font(java.lang.String attributes)
          Prints the <FONT attributes> tag
 void fontEnd()
          Prints the </FONT> tag
 void footer()
          Prints the footer information of a HTML document.
 void h1()
          Prints the <H1> tag
 void h1End()
          Prints the </H1> tag
 void h2()
          Prints the <H2> tag
 void h2End()
          Prints the </H2> tag
 void h3()
          Prints the <H3> tag
 void h3End()
          Prints the </H3> tag
 void head()
          Prints the <HEAD> tag
 void headEnd()
          Prints the </HEAD> tag
 void header()
          Prints the header information of a HTML document.
 void header(java.lang.String title)
          Prints the header information of a HTML document.
 void hr()
          Prints the <HR> tag
 void html()
          Prints the <HTML> tag
 void htmlEnd()
          Prints the </HTML> tag
 void ol()
          Prints the <OL> tag
 void olEnd()
          Prints the </OL> tag
 void p()
          Prints the <P> tag
 void pEnd()
          Prints the </P> tag
 void table()
          Prints the <TABLE border=\"1\" bordercolor=\"#CCCCCC\" cellpadding=\"1\"> tag
 void tableData()
          Prints the <TD> tag
 void tableDataEnd()
          Prints the </TD> tag
 void tableEnd()
          Prints the </TABLE> tag
 void tableRow()
          Prints the <TR> tag
 void tableRowEnd()
          Prints the </TR> tag
 void title()
          Prints the <TITLE> tag
 void titleEnd()
          Prints the </TITLE> tag
 
Methods inherited from class java.io.PrintWriter
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlWriter

public HtmlWriter(java.io.PrintWriter out)
Allocates a HtmlWriter that writes to out
Parameters:
out - PrinterWriter to write out the outputs.
Method Detail

header

public void header(java.lang.String title)
Prints the header information of a HTML document. Including <HTML>, <HEAD>, <TITLE>, and the <BODY> tags with a title.
Parameters:
title - the title of this HTML document.

header

public void header()
Prints the header information of a HTML document. Including <HTML>, <HEAD>, <TITLE>, and the <BODY> tags.

footer

public void footer()
Prints the footer information of a HTML document. Including </BODY> and the </HTML> tags.

html

public void html()
Prints the <HTML> tag

htmlEnd

public void htmlEnd()
Prints the </HTML> tag

head

public void head()
Prints the <HEAD> tag

headEnd

public void headEnd()
Prints the </HEAD> tag

h1

public void h1()
Prints the <H1> tag

h1End

public void h1End()
Prints the </H1> tag

h2

public void h2()
Prints the <H2> tag

h2End

public void h2End()
Prints the </H2> tag

h3

public void h3()
Prints the <H3> tag

h3End

public void h3End()
Prints the </H3> tag

hr

public void hr()
Prints the <HR> tag

br

public void br()
Prints the <BR> tag

p

public void p()
Prints the <P> tag

pEnd

public void pEnd()
Prints the </P> tag

ol

public void ol()
Prints the <OL> tag

olEnd

public void olEnd()
Prints the </OL> tag

title

public void title()
Prints the <TITLE> tag

titleEnd

public void titleEnd()
Prints the </TITLE> tag

body

public void body()
Prints the <BODY> tag

body

public void body(java.lang.String attributes)
Prints the <BODY> tag

bodyEnd

public void bodyEnd()
Prints the </BODY> tag

table

public void table()
Prints the <TABLE border=\"1\" bordercolor=\"#CCCCCC\" cellpadding=\"1\"> tag

tableEnd

public void tableEnd()
Prints the </TABLE> tag

tableRow

public void tableRow()
Prints the <TR> tag

tableRowEnd

public void tableRowEnd()
Prints the </TR> tag

tableData

public void tableData()
Prints the <TD> tag

tableDataEnd

public void tableDataEnd()
Prints the </TD> tag

center

public void center()
Prints the <CENTER> tag

centerEnd

public void centerEnd()
Prints the </CENTER> tag

font

public void font()
Prints the <FONT> tag

font

public void font(java.lang.String attributes)
Prints the <FONT attributes> tag

fontEnd

public void fontEnd()
Prints the </FONT> tag

div

public void div()
Prints the <DIV> tag

divEnd

public void divEnd()
Prints the </DIV> tag

EspressChart
v 5.5