DocCheck 1.2 Beta 2

com.sun.tools.doclets.util
Class HtmlTagWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--java.io.PrintWriter
              |
              +--com.sun.tools.doclets.util.HtmlTagWriter

public class HtmlTagWriter
extends java.io.PrintWriter

Class for the Html format code generation. Initilizes PrintWriter with FileWriter, to enable print related methods to generate the code to the named File through FileWriter.

Since:
JDK1.2
Author:
Atul M Dambalkar

Field Summary
static java.lang.String fileseparator
          URL file separator string("/").
protected  java.lang.String htmlFilename
          Name of the file to which this writer is writing.
 
Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
HtmlTagWriter(java.lang.String filename, java.lang.String docencoding)
          Initializes PrintWriter with the FileWriter.
HtmlTagWriter(java.lang.String path, java.lang.String filename, java.lang.String docencoding)
          Initializes PrintWriter with the FileWriter.
 
Method Summary
 void address()
          Print <ADDRESS> tag.
 void addressEnd()
          Print </ADDRESS> tag.
 void aEnd()
          Print </A> tag.
 void aName(java.lang.String name)
          Print anchor <A NAME="name"> tag.
 void anchor(java.lang.String name)
          Print anchor <A NAME="name"> and </A>tags.
 void anchor(java.lang.String name, java.lang.String content)
          Print contents within anchor <A NAME="name"> tags.
 void blockquote()
          Print <BLOCKQUOTE> tag.
 void blockquoteEnd()
          Print </BLOCKQUOTE> tag.
 void body()
          Print <BODY> tag.
 void body(java.lang.String bgcolor)
          Print <BODY BGCOLOR="bgcolor"> tag.
 void bodyEnd()
          Print </BODY> tag.
 void bold()
          Print <B> tag.
 void bold(java.lang.String text)
          Print text passed, in bold format using <B> and </B> tags.
 void boldEnd()
          Print </B> tag.
 void br()
          Print newline and then print <BR> tag.
 void center()
          Print <CENTER> tag.
 void centerEnd()
          Print </CENTER> tag.
 void code()
          Print <CODE> tag.
 void codeEnd()
          Print </CODE> tag.
 java.lang.String codeText(java.lang.String text)
           
 void commentEnd()
          Print "-->" comment end string.
 void commentStart()
          Print "<!
 void dat(int n)
          Print numeric table data, right aligned.
 void dat(java.lang.String s)
          Print table data, right aligned.
 void datp(float n)
          Print percentage table data, right aligned.
 void datp(long n)
          Print percentage table data, right aligned.
 void dd()
          Print <DT> tag.
 void ddEnd()
          Print </DD> tag.
 void dl()
          Print <DL> tag.
 void dlEnd()
          Print </DL> tag.
 void dt()
          Print <DT> tag.
 void em()
          Print <EM> tag.
 void emEnd()
          Print </EM> tag.
 void font(java.lang.String size)
          Print <FONT SIZE="size"> tag.
 void fontEnd()
          Print </FONT> tag.
 void fontSizeStyle(java.lang.String size, java.lang.String stylename)
          Print <FONT SIZE="size" CLASS="stylename"> tag.
 void fontStyle(java.lang.String stylename)
          Print <FONT CLASS="stylename"> tag.
static java.io.Writer genWriter(java.lang.String path, java.lang.String filename, java.lang.String docencoding)
          Create the directory path for the file to be generated, construct FileOutputStream and OutputStreamWriter depending upon docencoding.
 java.lang.String getBold()
          Get the "<B>" string.
 java.lang.String getBoldEnd()
          Get the "</B>" string.
 java.lang.String getCode()
          Get the "<CODE>" string.
 java.lang.String getCodeEnd()
          Get the "</CODE>" string.
 java.lang.String getFontColor(java.lang.String color)
          Get the "<FONT COLOR="color">" string.
 java.lang.String getFontEnd()
          Get the "</FONT>" string.
 void h1()
          Print <H1> tag.
 void h1(java.lang.String text)
          Print text with <H1> tag.
 void h1End()
          Print </H1> tag.
 void h2()
          Print <H2> tag.
 void h2(java.lang.String text)
          Print text with <H2> tag.
 void h2End()
          Print </H2> tag.
 void h3()
          Print <H3> tag.
 void h3(java.lang.String text)
          Print text with <H3> tag.
 void h3End()
          Print </H3> tag.
 void h4()
          Print <H4> tag.
 void h4(java.lang.String text)
          Print text with <H4> tag.
 void h4End()
          Print </H4> tag.
 void h5()
          Print <H5> tag.
 void h5End()
          Print </H5> tag.
 void head()
          Print <HEAD> tag.
 void headEnd()
          Print </HEAD> tag.
 void hr()
          Print <HR> tag.
 void hr(int size, int widthPercent)
          Print <HR SIZE="size" WIDTH="widthpercent%"> tag.
 void hr(int size, java.lang.String noshade)
          Print <HR SIZE="size" NOSHADE> tag.
 void html()
          Print <HTML> tag.
 void htmlEnd()
          Print </HTML> tag.
 void img(java.lang.String imggif, java.lang.String imgname, int width, int height)
          Print HTML <IMG SRC="imggif" WIDTH="width" HEIGHT="height" ALT="imgname> tag.
 void italic()
          Print <I> tag.
 void italicEnd()
          Print </I> tag.
 void italics(java.lang.String text)
          Print text passed, in Italics using <I> and </I> tags.
 java.lang.String italicsText(java.lang.String text)
          Return, text passed, with Italics <I> and </I> tags, surrounding it.
 void li()
          Print <LI> tag.
 void li(java.lang.String type)
          Print <LI TYPE="type"> tag.
 void link(java.lang.String str)
          Print <LINK str> tag.
 void link(java.lang.String href, java.lang.String text)
          Print <a HREF="href"> text </a> tag.
 void menu()
          Print <MENU> tag.
 void menuEnd()
          Print </MENU> tag.
 void noFrames()
          Print <NOFRAMES> tag.
 void noFramesEnd()
          Print </NOFRAMES> tag.
 void p()
          Print newline and then print <P> tag.
 void pre()
          Print <PRE> tag.
 void preEnd()
          Print </PRE> tag.
 void space()
          Print "&nbsp;", non-breaking space.
 void sup()
          Print <SUP> tag.
 void supEnd()
          Print </SUP> tag.
 void table()
          Print the HTML table tag with border size 0 and width 100%.
 void table(int border, int cellpadding, int cellspacing)
          Print HTML <TABLE BORDER="border" CELLPADDING="cellpadding" CELLSPACING="cellspacing"> tag.
 void table(int border, java.lang.String width)
          Print HTML <TABLE BORDER="border" WIDTH="width">
 void table(int border, java.lang.String width, int cellpadding, int cellspacing)
          Print HTML <TABLE BORDER="border" WIDTH="width" CELLPADDING="cellpadding" CELLSPACING="cellspacing"> tag.
 void tableEnd()
          Print </TABLE> tag.
 void td()
          Print <TD> tag.
 void tdAlign(java.lang.String align)
          Print <TD ALIGN="align"> tag.
 void tdAlignColspan(java.lang.String align, int colspan)
          Print <TD ALIGN="align" COLSPAN=rowspan> tag.
 void tdAlignRowspan(java.lang.String align, int rowspan)
          Print <TD ALIGN="align" ROWSPAN=rowspan> tag.
 void tdAlignVAlign(java.lang.String align, java.lang.String valign)
          Print <TD ALIGN="align" VALIGN="valign"> tag.
 void tdAlignVAlignRowspan(java.lang.String align, java.lang.String valign, int rowspan)
          Print <TD ALIGN="align" VALIGN="valign" ROWSPAN=rowspan> tag.
 void tdAlignValignWidth(java.lang.String align, java.lang.String valign, java.lang.String width)
          Print <TD ALIGN="align" WIDTH="width"> tag.
 void tdBgcolorStyle(java.lang.String color, java.lang.String stylename)
          Print <TD BGCOLOR="color" CLASS="stylename"> tag.
 void tdColspan(int i)
          Print <TD COLSPAN=i> tag.
 void tdColspanBgcolorStyle(int i, java.lang.String color, java.lang.String stylename)
          Print <TD COLSPAN=i BGCOLOR="color" CLASS="stylename"> tag.
 void tdEnd()
          Print </TD> tag.
 void tdNowrap()
          Print <TD NOWRAP> tag.
 void tdVAlign(java.lang.String valign)
          Print <TD VALIGN="valign"> tag.
 void tdVAlignClass(java.lang.String align, java.lang.String stylename)
          Print <TD ALIGN="align" CLASS="stylename"> tag.
 void tdWidth(java.lang.String width)
          Print <TD WIDTH="width"> tag.
 void title()
          Print <TITLE> tag.
 void titleEnd()
          Print </TITLE> tag.
 void tr()
          Print <TR> tag.
 void trAlignVAlign(java.lang.String align, java.lang.String valign)
          Print <TR ALIGN="align" VALIGN="valign"> tag.
 void trBgcolor(java.lang.String color)
          Print <TR BGCOLOR="color"> tag.
 void trBgcolorStyle(java.lang.String color, java.lang.String stylename)
          Print <TR BGCOLOR="color" CLASS="stylename"> tag.
 void trEnd()
          Print </TR> tag.
 void ul()
          Print <UL> tag.
 void ulEnd()
          Print </UL> 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
 

Field Detail

htmlFilename

protected final java.lang.String htmlFilename
Name of the file to which this writer is writing.


fileseparator

public static final java.lang.String fileseparator
URL file separator string("/").

See Also:
Constant Field Values
Constructor Detail

HtmlTagWriter

public HtmlTagWriter(java.lang.String filename,
                     java.lang.String docencoding)
              throws java.io.IOException,
                     java.io.UnsupportedEncodingException
Initializes PrintWriter with the FileWriter.

Parameters:
filename - File Name to which the PrintWriter will do the Output.
docencoding - Encoding to be used for this file.
Throws:
java.io.IOException - Exception raised by the FileWriter is passed on to next level.
UnSupportedEncodingException - Exception raised by the OutputStreamWriter is passed on to next level.
java.io.UnsupportedEncodingException

HtmlTagWriter

public HtmlTagWriter(java.lang.String path,
                     java.lang.String filename,
                     java.lang.String docencoding)
              throws java.io.IOException,
                     java.io.UnsupportedEncodingException
Initializes PrintWriter with the FileWriter.

Parameters:
path - The directory path to be created for this file.
filename - File Name to which the PrintWriter will do the Output.
docencoding - Encoding to be used for this file.
Throws:
java.io.IOException - Exception raised by the FileWriter is passed on to next level.
UnSupportedEncodingException - Exception raised by the OutputStreamWriter is passed on to next level.
java.io.UnsupportedEncodingException
Method Detail

genWriter

public static java.io.Writer genWriter(java.lang.String path,
                                       java.lang.String filename,
                                       java.lang.String docencoding)
                                throws java.io.IOException,
                                       java.io.UnsupportedEncodingException
Create the directory path for the file to be generated, construct FileOutputStream and OutputStreamWriter depending upon docencoding.

Parameters:
path - The directory path to be created for this file.
filename - File Name to which the PrintWriter will do the Output.
docencoding - Encoding to be used for this file.
Returns:
Writer Writer for the file getting generated.
Throws:
java.io.IOException - Exception raised by the FileWriter is passed on to next level.
UnSupportedEncodingException - Exception raised by the OutputStreamWriter is passed on to next level.
java.io.UnsupportedEncodingException
See Also:
FileOutputStream, OutputStreamWriter

html

public void html()
Print <HTML> tag. Add a newline character at the end.


htmlEnd

public void htmlEnd()
Print </HTML> tag. Add a newline character at the end.


body

public void body()
Print <BODY> tag. Add a newline character at the end.


body

public void body(java.lang.String bgcolor)
Print <BODY BGCOLOR="bgcolor"> tag. Add a newline character at the end.

Parameters:
bgcolor - BackGroung color.

bodyEnd

public void bodyEnd()
Print </BODY> tag. Add a newline character at the end.


title

public void title()
Print <TITLE> tag. Add a newline character at the end.


titleEnd

public void titleEnd()
Print </TITLE> tag. Add a newline character at the end.


ul

public void ul()
Print <UL> tag. Add a newline character at the end.


ulEnd

public void ulEnd()
Print </UL> tag. Add a newline character at the end.


li

public void li()
Print <LI> tag.


li

public void li(java.lang.String type)
Print <LI TYPE="type"> tag.

Parameters:
type - Type string.

h1

public void h1()
Print <H1> tag. Add a newline character at the end.


h1End

public void h1End()
Print </H1> tag. Add a newline character at the end.


h1

public void h1(java.lang.String text)
Print text with <H1> tag. Also adds </H1> tag. Add a newline character at the end of the text.

Parameters:
text - Text to be printed with <H1> format.

h2

public void h2()
Print <H2> tag. Add a newline character at the end.


h2

public void h2(java.lang.String text)
Print text with <H2> tag. Also adds </H2> tag. Add a newline character at the end of the text.

Parameters:
text - Text to be printed with <H2> format.

h2End

public void h2End()
Print </H2> tag. Add a newline character at the end.


h3

public void h3()
Print <H3> tag. Add a newline character at the end.


h3

public void h3(java.lang.String text)
Print text with <H3> tag. Also adds </H3> tag. Add a newline character at the end of the text.

Parameters:
text - Text to be printed with <H3> format.

h3End

public void h3End()
Print </H3> tag. Add a newline character at the end.


h4

public void h4()
Print <H4> tag. Add a newline character at the end.


h4End

public void h4End()
Print </H4> tag. Add a newline character at the end.


h4

public void h4(java.lang.String text)
Print text with <H4> tag. Also adds </H4> tag. Add a newline character at the end of the text.

Parameters:
text - Text to be printed with <H4> format.

h5

public void h5()
Print <H5> tag. Add a newline character at the end.


h5End

public void h5End()
Print </H5> tag. Add a newline character at the end.


img

public void img(java.lang.String imggif,
                java.lang.String imgname,
                int width,
                int height)
Print HTML <IMG SRC="imggif" WIDTH="width" HEIGHT="height" ALT="imgname> tag. It prepends the "images" directory name to the "imggif". This method is used for oneone format generation. Add a newline character at the end.

Parameters:
imggif - Image GIF file.
imgname - Image name.
width - Width of the image.
height - Height of the image.

menu

public void menu()
Print <MENU> tag. Add a newline character at the end.


menuEnd

public void menuEnd()
Print </MENU> tag. Add a newline character at the end.


pre

public void pre()
Print <PRE> tag. Add a newline character at the end.


preEnd

public void preEnd()
Print </PRE> tag. Add a newline character at the end.


hr

public void hr()
Print <HR> tag. Add a newline character at the end.


hr

public void hr(int size,
               int widthPercent)
Print <HR SIZE="size" WIDTH="widthpercent%"> tag. Add a newline character at the end.

Parameters:
size - Size of the ruler.
widthPercent - Percentage Width of the ruler

hr

public void hr(int size,
               java.lang.String noshade)
Print <HR SIZE="size" NOSHADE> tag. Add a newline character at the end.

Parameters:
size - Size of the ruler.
noshade - noshade string.

getBold

public java.lang.String getBold()
Get the "<B>" string.

Returns:
String Return String "<B>";

getBoldEnd

public java.lang.String getBoldEnd()
Get the "</B>" string.

Returns:
String Return String "</B>";

bold

public void bold()
Print <B> tag.


boldEnd

public void boldEnd()
Print </B> tag.


bold

public void bold(java.lang.String text)
Print text passed, in bold format using <B> and </B> tags.

Parameters:
text - String to be printed in between <B> and </B> tags.

italics

public void italics(java.lang.String text)
Print text passed, in Italics using <I> and </I> tags.

Parameters:
text - String to be printed in between <I> and </I> tags.

italicsText

public java.lang.String italicsText(java.lang.String text)
Return, text passed, with Italics <I> and </I> tags, surrounding it. So if the text passed is "Hi", then string returned will be "<I>Hi</I>".

Parameters:
text - String to be printed in between <I> and </I> tags.

codeText

public java.lang.String codeText(java.lang.String text)

space

public void space()
Print "&nbsp;", non-breaking space.


dl

public void dl()
Print <DL> tag. Add a newline character at the end.


dlEnd

public void dlEnd()
Print </DL> tag. Add a newline character at the end.


dt

public void dt()
Print <DT> tag.


dd

public void dd()
Print <DT> tag.


ddEnd

public void ddEnd()
Print </DD> tag. Add a newline character at the end.


sup

public void sup()
Print <SUP> tag. Add a newline character at the end.


supEnd

public void supEnd()
Print </SUP> tag. Add a newline character at the end.


font

public void font(java.lang.String size)
Print <FONT SIZE="size"> tag. Add a newline character at the end.

Parameters:
size - String size.

fontStyle

public void fontStyle(java.lang.String stylename)
Print <FONT CLASS="stylename"> tag. Add a newline character at the end.

Parameters:
stylename - String stylename.

fontSizeStyle

public void fontSizeStyle(java.lang.String size,
                          java.lang.String stylename)
Print <FONT SIZE="size" CLASS="stylename"> tag. Add a newline character at the end.

Parameters:
size - String size.
stylename - String stylename.

fontEnd

public void fontEnd()
Print </FONT> tag.


getFontColor

public java.lang.String getFontColor(java.lang.String color)
Get the "<FONT COLOR="color">" string.

Parameters:
color - String color.
Returns:
String Return String "<FONT COLOR="color">".

getFontEnd

public java.lang.String getFontEnd()
Get the "</FONT>" string.

Returns:
String Return String "</FONT>";

center

public void center()
Print <CENTER> tag. Add a newline character at the end.


centerEnd

public void centerEnd()
Print </CENTER> tag. Add a newline character at the end.


aName

public void aName(java.lang.String name)
Print anchor <A NAME="name"> tag.

Parameters:
name - Name String.

aEnd

public void aEnd()
Print </A> tag.


italic

public void italic()
Print <I> tag.


italicEnd

public void italicEnd()
Print </I> tag.


anchor

public void anchor(java.lang.String name,
                   java.lang.String content)
Print contents within anchor <A NAME="name"> tags.

Parameters:
name - String name.
content - String contents.

anchor

public void anchor(java.lang.String name)
Print anchor <A NAME="name"> and </A>tags. Print comment string "<!-- -->" within those tags.

Parameters:
name - String name.

p

public void p()
Print newline and then print <P> tag. Add a newline character at the end.


br

public void br()
Print newline and then print <BR> tag. Add a newline character at the end.


address

public void address()
Print <ADDRESS> tag. Add a newline character at the end.


addressEnd

public void addressEnd()
Print </ADDRESS> tag. Add a newline character at the end.


head

public void head()
Print <HEAD> tag. Add a newline character at the end.


headEnd

public void headEnd()
Print </HEAD> tag. Add a newline character at the end.


code

public void code()
Print <CODE> tag.


codeEnd

public void codeEnd()
Print </CODE> tag.


em

public void em()
Print <EM> tag. Add a newline character at the end.


emEnd

public void emEnd()
Print </EM> tag. Add a newline character at the end.


table

public void table(int border,
                  java.lang.String width,
                  int cellpadding,
                  int cellspacing)
Print HTML <TABLE BORDER="border" WIDTH="width" CELLPADDING="cellpadding" CELLSPACING="cellspacing"> tag.

Parameters:
border - Border size.
width - Width of the table.
cellpadding - Cellpadding for the table cells.
cellspacing - Cellspacing for the table cells.

table

public void table(int border,
                  int cellpadding,
                  int cellspacing)
Print HTML <TABLE BORDER="border" CELLPADDING="cellpadding" CELLSPACING="cellspacing"> tag.

Parameters:
border - Border size.
cellpadding - Cellpadding for the table cells.
cellspacing - Cellspacing for the table cells.

table

public void table(int border,
                  java.lang.String width)
Print HTML <TABLE BORDER="border" WIDTH="width">

Parameters:
border - Border size.
width - Width of the table.

table

public void table()
Print the HTML table tag with border size 0 and width 100%.


tableEnd

public void tableEnd()
Print </TABLE> tag. Add a newline character at the end.


tr

public void tr()
Print <TR> tag. Add a newline character at the end.


trEnd

public void trEnd()
Print </TR> tag. Add a newline character at the end.


td

public void td()
Print <TD> tag.


tdNowrap

public void tdNowrap()
Print <TD NOWRAP> tag.


tdWidth

public void tdWidth(java.lang.String width)
Print <TD WIDTH="width"> tag.

Parameters:
width - String width.

tdEnd

public void tdEnd()
Print </TD> tag. Add a newline character at the end.


link

public void link(java.lang.String str)
Print <LINK str> tag.

Parameters:
str - String.

commentStart

public void commentStart()
Print "<!-- " comment start string.


commentEnd

public void commentEnd()
Print "-->" comment end string. Add a newline character at the end.


trBgcolorStyle

public void trBgcolorStyle(java.lang.String color,
                           java.lang.String stylename)
Print <TR BGCOLOR="color" CLASS="stylename"> tag. Adds a newline character at the end.

Parameters:
color - String color.
stylename - String stylename.

trBgcolor

public void trBgcolor(java.lang.String color)
Print <TR BGCOLOR="color"> tag. Adds a newline character at the end.

Parameters:
color - String color.

trAlignVAlign

public void trAlignVAlign(java.lang.String align,
                          java.lang.String valign)
Print <TR ALIGN="align" VALIGN="valign"> tag. Adds a newline character at the end.

Parameters:
align - String align.
valign - String valign.

tdColspan

public void tdColspan(int i)
Print <TD COLSPAN=i> tag.

Parameters:
i - integer.

tdBgcolorStyle

public void tdBgcolorStyle(java.lang.String color,
                           java.lang.String stylename)
Print <TD BGCOLOR="color" CLASS="stylename"> tag.

Parameters:
color - String color.
stylename - String stylename.

tdColspanBgcolorStyle

public void tdColspanBgcolorStyle(int i,
                                  java.lang.String color,
                                  java.lang.String stylename)
Print <TD COLSPAN=i BGCOLOR="color" CLASS="stylename"> tag.

Parameters:
i - integer.
color - String color.
stylename - String stylename.

tdAlign

public void tdAlign(java.lang.String align)
Print <TD ALIGN="align"> tag. Adds a newline character at the end.

Parameters:
align - String align.

tdVAlignClass

public void tdVAlignClass(java.lang.String align,
                          java.lang.String stylename)
Print <TD ALIGN="align" CLASS="stylename"> tag.

Parameters:
align - String align.
stylename - String stylename.

tdVAlign

public void tdVAlign(java.lang.String valign)
Print <TD VALIGN="valign"> tag.

Parameters:
valign - String valign.

tdAlignVAlign

public void tdAlignVAlign(java.lang.String align,
                          java.lang.String valign)
Print <TD ALIGN="align" VALIGN="valign"> tag.

Parameters:
align - String align.
valign - String valign.

tdAlignRowspan

public void tdAlignRowspan(java.lang.String align,
                           int rowspan)
Print <TD ALIGN="align" ROWSPAN=rowspan> tag.

Parameters:
align - String align.
rowspan - integer rowspan.

tdAlignVAlignRowspan

public void tdAlignVAlignRowspan(java.lang.String align,
                                 java.lang.String valign,
                                 int rowspan)
Print <TD ALIGN="align" VALIGN="valign" ROWSPAN=rowspan> tag.

Parameters:
align - String align.
valign - String valign.
rowspan - integer rowspan.

blockquote

public void blockquote()
Print <BLOCKQUOTE> tag. Add a newline character at the end.


blockquoteEnd

public void blockquoteEnd()
Print </BLOCKQUOTE> tag. Add a newline character at the end.


getCode

public java.lang.String getCode()
Get the "<CODE>" string.

Returns:
String Return String "<CODE>";

getCodeEnd

public java.lang.String getCodeEnd()
Get the "</CODE>" string.

Returns:
String Return String "</CODE>";

noFrames

public void noFrames()
Print <NOFRAMES> tag. Add a newline character at the end.


noFramesEnd

public void noFramesEnd()
Print </NOFRAMES> tag. Add a newline character at the end.


tdAlignColspan

public void tdAlignColspan(java.lang.String align,
                           int colspan)
Print <TD ALIGN="align" COLSPAN=rowspan> tag.

Parameters:
align - String align.
colspan - integer colspan.

tdAlignValignWidth

public void tdAlignValignWidth(java.lang.String align,
                               java.lang.String valign,
                               java.lang.String width)
Print <TD ALIGN="align" WIDTH="width"> tag.

Parameters:
align - String horizontal align.
valign - String vertical align.
width - String width.

link

public void link(java.lang.String href,
                 java.lang.String text)
Print <a HREF="href"> text </a> tag.

Parameters:
href - The link to go to.
text - The string to display.

dat

public void dat(int n)
Print numeric table data, right aligned.

Parameters:
n - integer colspan.

datp

public void datp(long n)
Print percentage table data, right aligned.


datp

public void datp(float n)
Print percentage table data, right aligned.


dat

public void dat(java.lang.String s)
Print table data, right aligned.

Parameters:
s - String align.

DocCheck 1.2 Beta 2

Report a bug or suggest a feature
Copyright 2000-2003 Sun Microsystems, Inc. 4150 Network Circle
Santa Clara, CA 95054, U.S.A. All Rights Reserved.