Class sun.tools.javadoc.doclets.HtmlWriter
sun.tools.javadoc.doclets.HtmlWriter
- Subclasses:
- HtmlDocWriter
- public class HtmlWriter
Class for the Html Format Code Generation.
Initilizes PrintWriter with FileWriter, so that to use all the print
related methods to generate the code to the named File through FileWriter.
- Since:
- JDK1.2
Constructor Summary
|
HtmlWriter(sun.tools.javadoc.doclets.String filename,
sun.tools.javadoc.doclets.String docencoding)
Constructor, initializes PrintWriter with the FileWriter.
|
Method Summary
|
void
|
address()
|
void
|
addressEnd()
|
void
|
aEnd()
|
void
|
aName(sun.tools.javadoc.doclets.String name)
|
void
|
anchor(sun.tools.javadoc.doclets.String name,
sun.tools.javadoc.doclets.String content)
|
void
|
anchor(sun.tools.javadoc.doclets.String name)
|
void
|
body()
|
void
|
body(sun.tools.javadoc.doclets.String bgcolor)
|
void
|
bodyEnd()
|
void
|
bold()
|
void
|
bold(sun.tools.javadoc.doclets.String text)
|
void
|
boldEnd()
|
void
|
br()
|
void
|
center()
|
void
|
centerEnd()
|
void
|
code()
|
void
|
codeEnd()
|
void
|
dd()
|
void
|
ddEnd()
|
void
|
dl()
|
void
|
dlEnd()
|
void
|
dt()
|
void
|
em()
|
void
|
emEnd()
|
void
|
font(sun.tools.javadoc.doclets.String size)
|
void
|
fontColor(sun.tools.javadoc.doclets.String color)
|
void
|
fontEnd()
|
void
|
h1()
|
void
|
h1(sun.tools.javadoc.doclets.String text)
|
void
|
h1End()
|
void
|
h2()
|
void
|
h2(sun.tools.javadoc.doclets.String text)
|
void
|
h2End()
|
void
|
h3()
|
void
|
h3(sun.tools.javadoc.doclets.String text)
|
void
|
h3End()
|
void
|
h4()
|
void
|
h4(sun.tools.javadoc.doclets.String text)
|
void
|
h4End()
|
void
|
h5()
|
void
|
h5End()
|
void
|
head()
|
void
|
headEnd()
|
void
|
hr()
|
void
|
hr(int size,
int widthPercent)
|
void
|
html()
|
void
|
htmlEnd()
|
void
|
img(sun.tools.javadoc.doclets.String imggif,
sun.tools.javadoc.doclets.String imgname,
int width,
int height)
|
void
|
italics(sun.tools.javadoc.doclets.String text)
|
void
|
li()
|
void
|
li(sun.tools.javadoc.doclets.String type)
|
void
|
menu()
|
void
|
menuEnd()
|
void
|
p()
|
void
|
pre()
|
void
|
preEnd()
|
void
|
space()
|
void
|
sup()
|
void
|
supEnd()
|
void
|
td()
|
void
|
tdAlign(sun.tools.javadoc.doclets.String str)
|
void
|
tdAlignRowspan(sun.tools.javadoc.doclets.String str,
int span)
|
void
|
tdColspan(int i)
|
void
|
tdEnd()
|
void
|
title()
|
void
|
titleEnd()
|
void
|
tr()
|
void
|
trBgcolor(sun.tools.javadoc.doclets.String color)
|
void
|
trEnd()
|
void
|
ul()
|
void
|
ulEnd()
|
HtmlWriter
public HtmlWriter(sun.tools.javadoc.doclets.String filename,
sun.tools.javadoc.doclets.String docencoding) throws sun.tools.javadoc.doclets.IOException, sun.tools.javadoc.doclets.UnsupportedEncodingException
Constructor, initializes PrintWriter with the FileWriter.
- Parameters:
filename
- File Name to which the PrintWriter will do the Output.
- Throws:
- sun.tools.javadoc.doclets.IOException - Exception raised by the FileWriter is passed on
to next level.
html
public void html()
htmlEnd
public void htmlEnd()
body
public void body()
body
public void body(sun.tools.javadoc.doclets.String bgcolor)
bodyEnd
public void bodyEnd()
title
public void title()
titleEnd
public void titleEnd()
ul
public void ul()
ulEnd
public void ulEnd()
li
public void li()
li
public void li(sun.tools.javadoc.doclets.String type)
h1
public void h1()
h1End
public void h1End()
h1
public void h1(sun.tools.javadoc.doclets.String text)
h2
public void h2()
h2
public void h2(sun.tools.javadoc.doclets.String text)
h2End
public void h2End()
h3
public void h3()
h3
public void h3(sun.tools.javadoc.doclets.String text)
h3End
public void h3End()
h4
public void h4()
h4End
public void h4End()
h4
public void h4(sun.tools.javadoc.doclets.String text)
h5
public void h5()
h5End
public void h5End()
img
public void img(sun.tools.javadoc.doclets.String imggif,
sun.tools.javadoc.doclets.String imgname,
int width,
int height)
menu
public void menu()
menuEnd
public void menuEnd()
pre
public void pre()
preEnd
public void preEnd()
hr
public void hr()
hr
public void hr(int size,
int widthPercent)
bold
public void bold()
boldEnd
public void boldEnd()
bold
public void bold(sun.tools.javadoc.doclets.String text)
italics
public void italics(sun.tools.javadoc.doclets.String text)
space
public void space()
dl
public void dl()
dlEnd
public void dlEnd()
dt
public void dt()
dd
public void dd()
ddEnd
public void ddEnd()
sup
public void sup()
supEnd
public void supEnd()
font
public void font(sun.tools.javadoc.doclets.String size)
fontEnd
public void fontEnd()
fontColor
public void fontColor(sun.tools.javadoc.doclets.String color)
center
public void center()
centerEnd
public void centerEnd()
aName
public void aName(sun.tools.javadoc.doclets.String name)
aEnd
public void aEnd()
anchor
public void anchor(sun.tools.javadoc.doclets.String name,
sun.tools.javadoc.doclets.String content)
anchor
public void anchor(sun.tools.javadoc.doclets.String name)
p
public void p()
br
public void br()
address
public void address()
addressEnd
public void addressEnd()
head
public void head()
headEnd
public void headEnd()
code
public void code()
codeEnd
public void codeEnd()
em
public void em()
emEnd
public void emEnd()
tr
public void tr()
trEnd
public void trEnd()
td
public void td()
tdEnd
public void tdEnd()
trBgcolor
public void trBgcolor(sun.tools.javadoc.doclets.String color)
tdColspan
public void tdColspan(int i)
tdAlign
public void tdAlign(sun.tools.javadoc.doclets.String str)
tdAlignRowspan
public void tdAlignRowspan(sun.tools.javadoc.doclets.String str,
int span)