This is a superclass for a subroutine which generates an
HTML page.
Parent Class:
Subs::Sub
Constructor
Accessors
Methods
- init()
First inherit init stuff and then
generate the header file top.
- body()
Empty body - specific missions should over-ride this
to fill in the contents of the header page.
- cleanup()
First put the closing HTML tags in the header page, then
record the name of the header page in the job.par
and finally do inherited cleanup stuff.
- begin_section(heading)
Begin a document section with the given heading.
- end_section()
End a document section. This doesn't actually do anything,
but you should use it in case a subclass wanted to do something special
here.
- begin_list()
Begin a bulleted list.
- end_list()
End a bulleted list.
- item(name, value, name, value...)
Add an element to a bulleted list.
Each item is a set of name-value pairs which will appear
on the same line. Usually there is only one name-value pair,
but sometimes it is useful to put two things (e.g. R.A. and Dec.)
on the same line.
- begin_table()
Start an HTML table with the given headings.
- table_row()
Add a row to an HTML table.
- end_table()
Add a row to an HTML table.