com.ibm.etill.framework.archive
Class HTMLPage

java.lang.Object
  |
  +--com.ibm.etill.framework.archive.HTMLPage

public class HTMLPage
extends Object

HTMLPage generates HTML language constructs for delivery information to web browsers. The focus is on constructing dynamic web pages from database information (hint) or other forms of personalization. Minimal stylization via abuse of presentation techniques is supported here, in favor of the style sheet technique.


Field Summary
 PrintWriter toClient
           
 
Constructor Summary
HTMLPage(PrintWriter fromForm)
           
 
Method Summary
 void Base(String baseURL)
          Base - specify the URL base to be used for URLs appearing on the page.
 void Center()
          Center - start a block of centered information
 void CheckBox(String name, String value)
          CheckBox - an element within a group of buttons -- ALL with same name -- that allows multiple selections from a list of options)
 void CheckBox(String name, String value, int selected)
          CheckBox - an element within a group of buttons -- ALL with same name -- that allows multiple selections from a list of options).
 void CheckBox(String name, String value, int selected, int label)
          CheckBox - an element within a group of buttons -- ALL with same name -- that allows multiple selections from a list of options).
 void Comment(String comment)
          Comment - place a sequence of text on the page as a (invisible) comment
 void EndBody()
          EndBody - completes the HTML page body block
 void EndCenter()
          EndCenter - end a block of centered information
 void EndForm()
          EndForm - signify the end of the form
 void EndGlossary()
          EndGlossary - close up a GlossaryList
 void EndHead()
          EndHead - end the HTML HEAD block
 void EndList()
          EndList - close an open (generic) list
 void EndList(String type)
          EndList - close an open list of a specified type
 void EndMap()
          EndMap - end an image map specification
 void EndPage()
          EndPage - finish an HTML page
 void EndSelector()
          EndSelector - end a multi-item value selector("menu" type)
 void EndTable()
          EndTable - signify the end of an open table
 void EndTableData()
          EndTableData - signal the end of a data element
 void EndTableRow()
          EndTableRow - signal the end of header/data elements for this row
 void GlossaryDescription(String text)
          GlossaryDescription - the "value" of an element within a GlossaryList
 void GlossaryItem(String item)
          GlossaryItem - the "name" of an element within a GlossaryList
 void HeadingOne(String head)
          HeadingOne - a large section heading
 void HeadingThree(String head)
          HeadingThree - a mid-sized section heading
 void HeadingTwo(String head)
          HeadingTwo - a slightly less bold section heading
 void HiddenField(String name, String value)
          HiddenField - place a hidden name/value pair in the form
 void HorizontalRule()
          HorizontalRule - create a horizontal separator on the page
 void HorizontalRule(int width, int thick)
          HorizontalRule - create a horizontal separator on the page
 void HorizontalRule(int width, int thick, String align)
          HorizontalRule - create a horizontal separator on the page
 void Image(String source, String alt)
          Image - display an image
 void Image(String source, String alt, int width, int height)
          Image - display an image
 void ImageButton(String name, String value, String source)
          ImageButton - a graphical toggle button
 void ImageLink(String source, String URL)
          ImageLink - create a hyper image link
 void ImageLink(String source, String URL, String align)
          ImageLink - create a hyper image link
 void ImageLink(String source, String URL, String align, String alt)
          ImageLink - create a hyper image link
 void ImageMap(String source, String alt, int width, int height, String mapname)
          ImageMap - start display of an image map
 void LineBreak()
          LineBreak - insert a linebreak between elements in the page
 void ListItem(String item)
          ListItem - an entry within an open list
 void MapArea(String shape, String coords, String link)
          MapArea - define a hypertext area of an image map
 void MapSpec(String mapname)
          MapSpec - start an image map specification
 void MetaEquiv(String http_equiv, String content)
          MetaEquiv - supplies "meta" information, similar to HTTP MIME header information, about the document
 void MetaName(String name, String content)
          MetaName - supplies "meta" information about the HTML document
 void NumberField(String name, int size, int max)
          NumberField - place a numeric-input entry on the page
 void NumberField(String name, int size, int max, String predef)
          NumberField - place a numeric-input entry on the page
 void Paragraph()
          Paragraph - insert a paragraph break between elements in the page
 void Paragraph(String ptext)
          Paragraph - insert a paragraph of text in the page
 void PasswordField(String name, int size, int max)
          PasswordField - place a Password-input entry on the page
 void PasswordField(String name, int size, int max, String predef)
          PasswordField - place a Password-input entry on the page
 void PreFormatted(String ptext)
          PreFormatted - insert a body of preformatted text in the page
 void PreFormatted(Throwable exception)
          PreFormatted - insert an Exception message as preformatted text.
 void RadioButton(String name, String value)
          RadioButton - an element with a group of buttons -- ALL with same name -- that allows a single selection from a list of options)
 void RadioButton(String name, String value, int selected)
          RadioButton - an element with a group of buttons -- ALL with same name -- that allows a single selection from a list of options).
 void RadioButton(String name, String value, int selected, int label)
          RadioButton - an element with a group of buttons -- ALL with same name -- that allows a single selection from a list of options).
 void RadioButton(String name, String value, String label)
          RadioButton - an element with a group of buttons -- ALL with same name -- that allows a single selection from a list of options)
 void RadioButton(String name, String value, String label, int selected)
          RadioButton - an element with a group of buttons -- ALL with same name -- that allows a single selection from a list of options).
 void ResetButton(String name, String value)
          ResetButton - place a RESET-type action button on the page
 void Script(String language, String the_script)
          Script - element for including "scripting" code within the document
 void SelectorOption(String option)
          SelectorOption - specifies one of the choices displayed in a Selector
 void SelectorOption(String option, int selected)
          SelectorOption - specifies one of the choices displayed in a Selector This form allows pre-selection of an entry
 void SelectorOption(String option, int selected, String value)
          SelectorOption - specifies one of the choices displayed in a Selector This form allows pre-selection of an entry, and the use of an option "value" different from the option "name"
 void StartBody()
          StartBody - commence the HTML page body (appears after HTML HEAD)
 void StartBody(String bgcolor)
          StartBody - commence the HTML page body (appears after HTML HEAD) this version supports selection of the page background color
 void StartBody(String bgcolor, String img_url)
          StartBody - commence the HTML page body (appears after HTML HEAD) this version support selection of an image background, or alternative solid color background
 void StartForm(String action)
          StartForm - begins a "form" This version allows only "POST"-type forms
 void StartGlossary()
          StartGlossary - commence a Glossary-type list
 void StartGlossary(int compact)
          StartGlossary - commence a Glossary-type list
 void StartHead()
          StartHead - commence the HTML HEAD block (must appear before BODY block)
 void StartList()
          StartList - commence a generic list
 void StartList(int compact)
          StartList - commence a generic list, opt displayed in compact form
 void StartList(String type, int compact)
          StartList - commence a list, opt displayed in compact form
 void StartPage()
          StartPage - commence generation of a fresh HTML page (req'd at top of document)
 void StartSelector(String name)
          StartSelector - start a multi-item value selector("menu" type)
 void StartSelector(String name, int size)
          StartSelector - start a multi-item value selector("menu" type), with size
 void StartSelector(String name, int size, int multiple)
          StartSelector - start a multi-item value selector("menu" type), with size and option of multi-selection
 void StartTable()
          StartTable - commence a new HTML table, with default border
 void StartTable(int border)
          StartTable - commence a new HTML table, specifying border width this version allows selection of the border width
 void StartTableRow()
          StartTableRow - commence a new row within an open table
 void StartTableRow(String align, String valign)
          StartTableRow - commence a new row within an open table, specifying row alignment properties
 void Style(String style)
          Style - include a CSS1 style sheet
 void StyleSheet(String sheet_url)
          StyleSheet - give reference to an external CSS1 style sheet
 void SubmitButton(String name, String value)
          SubmitButton - place a SUBMIT-type action button in the form
 void TableBreak()
          TableBreak - insert break in table data
 void TableCaption(String cap)
          TableCaption - specify a Caption element for an open table
 void TableCaption(String cap, String where)
          TableCaption - specify a Caption element for an open table this version allows positional control of the element
 void TableData()
          TableData - indicate start of a data element within a row Use prior to inserting a FORM element into a row, or when data is produced by another construct.
 void TableData(String data)
          TableData - specify a data element within a row
 void TableData(String data, String align, String valign)
          TableData - specify a data element within a row, specifying alignment properties
 void TableData(String data, String align, String valign, int width)
          TableData - specify a data element within a row, specifying alignment properties, and field width
 void TableHeader(String header)
          TableHeader - specify a "header" element for this row (bold)
 void TableHeader(String header, String align, String valign)
          TableHeader - specify a "header" element for this row (bold), specifying alignment properties
 void TableHeader(String header, String align, String valign, int width)
          TableHeader - specify a "header" element for this row (bold), specifying alignment properties, and field width
 void TableParagraph()
          TableParagraph - insert a paragraph break in table data
 void TableParagraph(String ptext)
          TableParagraph - insert a paragraph of text in table data
 void TableText(String ptext)
          TableText - insert text in table data
 void Text(String text)
          Comment - place a sequence of text on the page
 void TextField(String name, int size, int max)
          TextField - place a text-input entry on the page
 void TextField(String name, int size, int max, String predef)
          TextField - place a text-input entry on the page
 void TextLink(String text, String URL)
          TextLink - create a hypertext link
 void Title(String title)
          Title - specify a title for the HTML page
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toClient

public PrintWriter toClient
Constructor Detail

HTMLPage

public HTMLPage(PrintWriter fromForm)
Method Detail

Comment

public void Comment(String comment)
Comment - place a sequence of text on the page as a (invisible) comment
Parameters:
comment - text of the comment

Text

public void Text(String text)
Comment - place a sequence of text on the page
Parameters:
comment - text of the comment

StartPage

public void StartPage()
StartPage - commence generation of a fresh HTML page (req'd at top of document)

EndPage

public void EndPage()
EndPage - finish an HTML page

StartHead

public void StartHead()
StartHead - commence the HTML HEAD block (must appear before BODY block)

EndHead

public void EndHead()
EndHead - end the HTML HEAD block

StartBody

public void StartBody()
StartBody - commence the HTML page body (appears after HTML HEAD)

StartBody

public void StartBody(String bgcolor)
StartBody - commence the HTML page body (appears after HTML HEAD) this version supports selection of the page background color
Parameters:
bgcolor - hex-format number specifying page background ("#fffcfc")

StartBody

public void StartBody(String bgcolor,
                      String img_url)
StartBody - commence the HTML page body (appears after HTML HEAD) this version support selection of an image background, or alternative solid color background
Parameters:
bgcolor - hex-format number specifying alt background color ("#fffcfc")
img_url - URL pointing to image to use as background

EndBody

public void EndBody()
EndBody - completes the HTML page body block

Title

public void Title(String title)
Title - specify a title for the HTML page
Parameters:
title - title string

Base

public void Base(String baseURL)
Base - specify the URL base to be used for URLs appearing on the page.
Parameters:
baseURL - the URL to be used as the base reference point

MetaName

public void MetaName(String name,
                     String content)
MetaName - supplies "meta" information about the HTML document
Parameters:
name - meta-information name
content - meta-information associated with this name
See Also:
MetaEquiv(java.lang.String, java.lang.String)

MetaEquiv

public void MetaEquiv(String http_equiv,
                      String content)
MetaEquiv - supplies "meta" information, similar to HTTP MIME header information, about the document
Parameters:
http_equiv - meta-information name, equiv to HTTP header type
content - the meta information for this HTTP header
See Also:
MetaName(java.lang.String, java.lang.String)

StyleSheet

public void StyleSheet(String sheet_url)
StyleSheet - give reference to an external CSS1 style sheet
Parameters:
sheet_url - location of the style sheet

Style

public void Style(String style)
Style - include a CSS1 style sheet
Parameters:
style - the style text

Script

public void Script(String language,
                   String the_script)
Script - element for including "scripting" code within the document
Parameters:
language - the scripting language of the contained script
the_script - the contained script

StartForm

public void StartForm(String action)
StartForm - begins a "form" This version allows only "POST"-type forms
Parameters:
action - URL of the CGI program that will handle this form

EndForm

public void EndForm()
EndForm - signify the end of the form

StartTable

public void StartTable()
StartTable - commence a new HTML table, with default border

StartTable

public void StartTable(int border)
StartTable - commence a new HTML table, specifying border width this version allows selection of the border width
Parameters:
border - border present/not; if present, desired width

TableCaption

public void TableCaption(String cap)
TableCaption - specify a Caption element for an open table
Parameters:
cap - the caption string

TableCaption

public void TableCaption(String cap,
                         String where)
TableCaption - specify a Caption element for an open table this version allows positional control of the element
Parameters:
cap - the caption string
where - the location for the caption {top|bottom}

StartTableRow

public void StartTableRow()
StartTableRow - commence a new row within an open table

StartTableRow

public void StartTableRow(String align,
                          String valign)
StartTableRow - commence a new row within an open table, specifying row alignment properties
Parameters:
align - the horizontal alignment of elements {left|center|right}
valign - the vertical alignment of elements {top|middle|bottom|baseline}

TableHeader

public void TableHeader(String header)
TableHeader - specify a "header" element for this row (bold)
Parameters:
header - text string for header

TableHeader

public void TableHeader(String header,
                        String align,
                        String valign)
TableHeader - specify a "header" element for this row (bold), specifying alignment properties
Parameters:
header - text string for header
align - the horizontal alignment of elements {left|center|right}
valign - the vertical alignment of elements {top|middle|bottom|baseline}

TableHeader

public void TableHeader(String header,
                        String align,
                        String valign,
                        int width)
TableHeader - specify a "header" element for this row (bold), specifying alignment properties, and field width
Parameters:
header - text string for header
align - the horizontal alignment of elements {left|center|right}
valign - the vertical alignment of elements {top|middle|bottom|baseline}
width - width of header within form row

TableData

public void TableData()
TableData - indicate start of a data element within a row Use prior to inserting a FORM element into a row, or when data is produced by another construct. End with EndTableData().

TableData

public void TableData(String data)
TableData - specify a data element within a row
Parameters:
data - data for this element

TableData

public void TableData(String data,
                      String align,
                      String valign)
TableData - specify a data element within a row, specifying alignment properties
Parameters:
header - text string for header
align - the horizontal alignment of elements {left|center|right}
valign - the vertical alignment of elements {top|middle|bottom|baseline}

TableData

public void TableData(String data,
                      String align,
                      String valign,
                      int width)
TableData - specify a data element within a row, specifying alignment properties, and field width
Parameters:
header - text string for header
align - the horizontal alignment of elements {left|center|right}
valign - the vertical alignment of elements {top|middle|bottom|baseline}
width - the width of the data within the form row

TableParagraph

public void TableParagraph()
TableParagraph - insert a paragraph break in table data

TableParagraph

public void TableParagraph(String ptext)
TableParagraph - insert a paragraph of text in table data
Parameters:
ptext - the text of the paragraph

TableText

public void TableText(String ptext)
TableText - insert text in table data
Parameters:
ptext - the text

TableBreak

public void TableBreak()
TableBreak - insert break in table data

EndTableData

public void EndTableData()
EndTableData - signal the end of a data element

EndTableRow

public void EndTableRow()
EndTableRow - signal the end of header/data elements for this row

EndTable

public void EndTable()
EndTable - signify the end of an open table

StartSelector

public void StartSelector(String name)
StartSelector - start a multi-item value selector("menu" type)
Parameters:
name - name, within the form, to use for this selector

StartSelector

public void StartSelector(String name,
                          int size)
StartSelector - start a multi-item value selector("menu" type), with size
Parameters:
name - name, within the form, to use for this selector
size - the number of items that should show when displayed

StartSelector

public void StartSelector(String name,
                          int size,
                          int multiple)
StartSelector - start a multi-item value selector("menu" type), with size and option of multi-selection
Parameters:
name - name, within the form, to use for this selector
size - the number of items that should show when displayed
multiple - allowmultiple selections

SelectorOption

public void SelectorOption(String option,
                           int selected,
                           String value)
SelectorOption - specifies one of the choices displayed in a Selector This form allows pre-selection of an entry, and the use of an option "value" different from the option "name"
Parameters:
option - text string to show as the option
selected - 0/1 to pre-select an entry
value - the value of the option

SelectorOption

public void SelectorOption(String option)
SelectorOption - specifies one of the choices displayed in a Selector
Parameters:
option - text string to show as the option

SelectorOption

public void SelectorOption(String option,
                           int selected)
SelectorOption - specifies one of the choices displayed in a Selector This form allows pre-selection of an entry
Parameters:
option - text string to show as the option
selected - 0/1 to pre-select an entry

EndSelector

public void EndSelector()
EndSelector - end a multi-item value selector("menu" type)

CheckBox

public void CheckBox(String name,
                     String value)
CheckBox - an element within a group of buttons -- ALL with same name -- that allows multiple selections from a list of options)
Parameters:
name - name to be used, within the form, for this option
value - value for the option

CheckBox

public void CheckBox(String name,
                     String value,
                     int selected)
CheckBox - an element within a group of buttons -- ALL with same name -- that allows multiple selections from a list of options). This form allows options to be pre-selected
Parameters:
name - name to be used, within the form, for this option
value - value for the option
selected - 0/1 if pre-selected

CheckBox

public void CheckBox(String name,
                     String value,
                     int selected,
                     int label)
CheckBox - an element within a group of buttons -- ALL with same name -- that allows multiple selections from a list of options). This form allows options to be pre-selected and appear with/out label
Parameters:
name - name to be used, within the form, for this option
value - value for the option
selected - 0/1 if pre-selected
label - 0/1 if label is to be shown aside Box

ImageButton

public void ImageButton(String name,
                        String value,
                        String source)
ImageButton - a graphical toggle button
Parameters:
name - name to be used, within the form, for this option
value - value for the option
source - the URL location of the source imagery

RadioButton

public void RadioButton(String name,
                        String value)
RadioButton - an element with a group of buttons -- ALL with same name -- that allows a single selection from a list of options)
Parameters:
name - name to be used, within the form, for this option
value - value for the option

RadioButton

public void RadioButton(String name,
                        String value,
                        String label)
RadioButton - an element with a group of buttons -- ALL with same name -- that allows a single selection from a list of options)
Parameters:
name - name to be used, within the form, for this option
value - value for the option
label - lable for the option

RadioButton

public void RadioButton(String name,
                        String value,
                        int selected)
RadioButton - an element with a group of buttons -- ALL with same name -- that allows a single selection from a list of options). This form allows an item to be pre-selected
Parameters:
name - name to be used, within the form, for this option
value - value for the option
selected - 0/1 pre-select an item

RadioButton

public void RadioButton(String name,
                        String value,
                        String label,
                        int selected)
RadioButton - an element with a group of buttons -- ALL with same name -- that allows a single selection from a list of options). This form allows a label and an item to be pre-selected
Parameters:
name - name to be used, within the form, for this option
value - value for the option
label - value for the option
selected - 0/1 pre-select an item

RadioButton

public void RadioButton(String name,
                        String value,
                        int selected,
                        int label)
RadioButton - an element with a group of buttons -- ALL with same name -- that allows a single selection from a list of options). This form allows an item to be pre-selected
Parameters:
name - name to be used, within the form, for this option
value - value for the option
selected - 0/1 pre-select an item
label - 0/1 if label is to be shown aside Button

HiddenField

public void HiddenField(String name,
                        String value)
HiddenField - place a hidden name/value pair in the form
Parameters:
name - name to be used, within the form, for this field
value - value for the field

PasswordField

public void PasswordField(String name,
                          int size,
                          int max)
PasswordField - place a Password-input entry on the page
Parameters:
name - name to be used, within the form, for this field
size - width of the input, in chars
max - the maximum number of characters that can be entered

PasswordField

public void PasswordField(String name,
                          int size,
                          int max,
                          String predef)
PasswordField - place a Password-input entry on the page
Parameters:
name - name to be used, within the form, for this field
size - width of the input, in chars
max - the maximum number of characters that can be entered
predef - a predefined value for the field

TextField

public void TextField(String name,
                      int size,
                      int max)
TextField - place a text-input entry on the page
Parameters:
name - name to be used, within the form, for this field
size - width of the input, in chars
max - the maximum number of characters that can be entered

TextField

public void TextField(String name,
                      int size,
                      int max,
                      String predef)
TextField - place a text-input entry on the page
Parameters:
name - name to be used, within the form, for this field
size - width of the input, in chars
max - the maximum number of characters that can be entered
predef - a predefined value for the field

NumberField

public void NumberField(String name,
                        int size,
                        int max)
NumberField - place a numeric-input entry on the page
Parameters:
name - name to be used, within the form, for this field
size - width of the input, in chars
max - the maximum number of characters that can be entered

NumberField

public void NumberField(String name,
                        int size,
                        int max,
                        String predef)
NumberField - place a numeric-input entry on the page
Parameters:
name - name to be used, within the form, for this field
size - width of the input, in chars
max - the maximum number of characters that can be entered
predef - a predefined value for the field

SubmitButton

public void SubmitButton(String name,
                         String value)
SubmitButton - place a SUBMIT-type action button in the form
Parameters:
name - name to be used, within the form, for this field
value - value for the field

ResetButton

public void ResetButton(String name,
                        String value)
ResetButton - place a RESET-type action button on the page
Parameters:
name - name to be used, within the form, for this field
value - value for the field

StartGlossary

public void StartGlossary()
StartGlossary - commence a Glossary-type list

StartGlossary

public void StartGlossary(int compact)
StartGlossary - commence a Glossary-type list
Parameters:
compact - indicate if this list should be display in compact form

GlossaryItem

public void GlossaryItem(String item)
GlossaryItem - the "name" of an element within a GlossaryList
Parameters:
item - item name

GlossaryDescription

public void GlossaryDescription(String text)
GlossaryDescription - the "value" of an element within a GlossaryList
Parameters:
text - the description of a GlossaryItem

EndGlossary

public void EndGlossary()
EndGlossary - close up a GlossaryList

StartList

public void StartList()
StartList - commence a generic list

StartList

public void StartList(int compact)
StartList - commence a generic list, opt displayed in compact form
Parameters:
compact - 1|0 display compact

StartList

public void StartList(String type,
                      int compact)
StartList - commence a list, opt displayed in compact form
Parameters:
type - type of list to display {Ordered|Unordered}
compact - 1|0 display compact

ListItem

public void ListItem(String item)
ListItem - an entry within an open list
Parameters:
item - text for the list item

EndList

public void EndList()
EndList - close an open (generic) list

EndList

public void EndList(String type)
EndList - close an open list of a specified type
Parameters:
type - type of list to close {Ordered|Unordered}

TextLink

public void TextLink(String text,
                     String URL)
TextLink - create a hypertext link
Parameters:
text - the visible string shown
link - the link URL

ImageLink

public void ImageLink(String source,
                      String URL)
ImageLink - create a hyper image link
Parameters:
image - the URL of the image source
link - the link URL

ImageLink

public void ImageLink(String source,
                      String URL,
                      String align)
ImageLink - create a hyper image link
Parameters:
image - the URL of the image source
link - the link URL
align - image alignment (RIGHT, LEFT, CENTER)

ImageLink

public void ImageLink(String source,
                      String URL,
                      String align,
                      String alt)
ImageLink - create a hyper image link
Parameters:
image - the URL of the image source
link - the link URL
align - image alignment (RIGHT, LEFT, CENTER)
alt - alternative text to display

Image

public void Image(String source,
                  String alt)
Image - display an image
Parameters:
source - the URL location of the image
alt - the alternative text to display

Image

public void Image(String source,
                  String alt,
                  int width,
                  int height)
Image - display an image
Parameters:
source - the URL location of the image
alt - the alternative text to display
width - size
height - size

ImageMap

public void ImageMap(String source,
                     String alt,
                     int width,
                     int height,
                     String mapname)
ImageMap - start display of an image map
Parameters:
source - the URL location of the image
alt - the alternative text to display
width - size
height - size
mapname - name of the image map to use

MapSpec

public void MapSpec(String mapname)
MapSpec - start an image map specification
Parameters:
mapname - name of this map

EndMap

public void EndMap()
EndMap - end an image map specification

MapArea

public void MapArea(String shape,
                    String coords,
                    String link)
MapArea - define a hypertext area of an image map
Parameters:
shape - type of area
coords - coordinates for the area
link - the URL link for this area

HeadingOne

public void HeadingOne(String head)
HeadingOne - a large section heading
Parameters:
head - string of text to use as heading

HeadingTwo

public void HeadingTwo(String head)
HeadingTwo - a slightly less bold section heading
Parameters:
head - string of text to use as heading

HeadingThree

public void HeadingThree(String head)
HeadingThree - a mid-sized section heading
Parameters:
head - string of text to use as heading

LineBreak

public void LineBreak()
LineBreak - insert a linebreak between elements in the page

Center

public void Center()
Center - start a block of centered information

EndCenter

public void EndCenter()
EndCenter - end a block of centered information

Paragraph

public void Paragraph()
Paragraph - insert a paragraph break between elements in the page

Paragraph

public void Paragraph(String ptext)
Paragraph - insert a paragraph of text in the page
Parameters:
ptext - the text of the paragraph

PreFormatted

public void PreFormatted(String ptext)
PreFormatted - insert a body of preformatted text in the page
Parameters:
ptext - the text

PreFormatted

public void PreFormatted(Throwable exception)
PreFormatted - insert an Exception message as preformatted text.
Parameters:
ptext - the text

HorizontalRule

public void HorizontalRule()
HorizontalRule - create a horizontal separator on the page

HorizontalRule

public void HorizontalRule(int width,
                           int thick)
HorizontalRule - create a horizontal separator on the page
Parameters:
width - width of the rule as percent of page
thick - thickness of the rule

HorizontalRule

public void HorizontalRule(int width,
                           int thick,
                           String align)
HorizontalRule - create a horizontal separator on the page
Parameters:
width - width of the rule as percent of page
thick - thickness of the rule
align - on of {right|center|left}