|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.Writer
java.io.PrintWriter
com.sun.tools.doclets.formats.html.markup.HtmlWriter
com.sun.tools.doclets.formats.html.markup.HtmlDocWriter
public abstract class HtmlDocWriter
Class for the Html Format Code Generation specific to JavaDoc. This Class contains methods related to the Html Code Generation which are used by the Sub-Classes in the package com.sun.tools.doclets.standard and com.sun.tools.doclets.oneone.
| Field Summary |
|---|
| Fields inherited from class com.sun.tools.doclets.formats.html.markup.HtmlWriter |
|---|
configuration, fileseparator, htmlFilename, winTitle |
| Fields inherited from class java.io.PrintWriter |
|---|
out |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
HtmlDocWriter(Configuration configuration,
java.lang.String filename)
Constructor. |
|
HtmlDocWriter(Configuration configuration,
java.lang.String path,
java.lang.String filename)
|
|
| Method Summary | |
|---|---|
abstract Configuration |
configuration()
Accessor for configuration. |
java.lang.String |
getHyperLink(java.lang.String link,
java.lang.String label)
Get link string without positioning in the file. |
java.lang.String |
getHyperLink(java.lang.String link,
java.lang.String where,
java.lang.String label,
boolean strong)
Return Html Hyper Link string. |
java.lang.String |
getHyperLink(java.lang.String link,
java.lang.String where,
java.lang.String label,
boolean strong,
java.lang.String stylename)
Get Html Hyper Link string. |
java.lang.String |
getHyperLink(java.lang.String link,
java.lang.String where,
java.lang.String label,
boolean strong,
java.lang.String stylename,
java.lang.String title,
java.lang.String target)
Get Html Hyper Link string. |
java.lang.String |
getPkgName(ClassDoc cd)
Get the name of the package, this class is in. |
void |
printBodyHtmlEnd()
Print the closing </body> and </html> tags. |
void |
printFooter()
Calls printBodyHtmlEnd() method. |
void |
printFrameFooter()
Print closing </html> tag. |
void |
printFramesetHeader(java.lang.String title)
Print the frameset version of the Html file header. |
void |
printFramesetHeader(java.lang.String title,
boolean noTimeStamp)
Print the frameset version of the Html file header. |
void |
printHyperLink(java.lang.String link,
java.lang.String label)
Print link without positioning in the file. |
void |
printHyperLink(java.lang.String link,
java.lang.String where,
java.lang.String label)
Print Html Hyper Link. |
void |
printHyperLink(java.lang.String link,
java.lang.String where,
java.lang.String label,
boolean strong)
Print Html Hyper Link. |
void |
printHyperLink(java.lang.String link,
java.lang.String where,
java.lang.String label,
boolean strong,
java.lang.String stylename)
Print Html Hyper Link. |
void |
printNbsps()
Print ten non-breaking spaces(" "). |
void |
printPkgName(ClassDoc cd)
Print the name of the package, this class is in. |
java.lang.String |
spaces(int len)
Print the appropriate spaces to format the class tree in the class page. |
java.lang.String |
today()
Get the day and date information for today, depending upon user option. |
| Methods inherited from class java.io.PrintWriter |
|---|
append, append, append, checkError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, 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 |
|---|
public HtmlDocWriter(Configuration configuration,
java.lang.String filename)
throws java.io.IOException
filename - String file name.
java.io.IOException
public HtmlDocWriter(Configuration configuration,
java.lang.String path,
java.lang.String filename)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public abstract Configuration configuration()
public void printHyperLink(java.lang.String link,
java.lang.String where,
java.lang.String label,
boolean strong)
link - String name of the file.where - Position of the link in the file. Character '#' is not
needed.label - Tag for the link.strong - Boolean that sets label to strong.
public void printHyperLink(java.lang.String link,
java.lang.String where,
java.lang.String label)
link - String name of the file.where - Position of the link in the file. Character '#' is not
needed.label - Tag for the link.
public void printHyperLink(java.lang.String link,
java.lang.String where,
java.lang.String label,
boolean strong,
java.lang.String stylename)
link - String name of the file.where - Position of the link in the file. Character '#' is not
needed.label - Tag for the link.strong - Boolean that sets label to strong.stylename - String style of text defined in style sheet.
public java.lang.String getHyperLink(java.lang.String link,
java.lang.String where,
java.lang.String label,
boolean strong)
link - String name of the file.where - Position of the link in the file. Character '#' is not
needed.label - Tag for the link.strong - Boolean that sets label to strong.
public java.lang.String getHyperLink(java.lang.String link,
java.lang.String where,
java.lang.String label,
boolean strong,
java.lang.String stylename)
link - String name of the file.where - Position of the link in the file. Character '#' is not
needed.label - Tag for the link.strong - Boolean that sets label to strong.stylename - String style of text defined in style sheet.
public java.lang.String getHyperLink(java.lang.String link,
java.lang.String where,
java.lang.String label,
boolean strong,
java.lang.String stylename,
java.lang.String title,
java.lang.String target)
link - String name of the file.where - Position of the link in the file. Character '#' is not
needed.label - Tag for the link.strong - Boolean that sets label to strong.stylename - String style of text defined in style sheet.title - String that describes the link's content for accessibility.target - Target frame.
public void printHyperLink(java.lang.String link,
java.lang.String label)
link - String name of the file.label - Tag for the link.
public java.lang.String getHyperLink(java.lang.String link,
java.lang.String label)
link - String name of the file.label - Tag for the link.
public void printPkgName(ClassDoc cd)
cd - ClassDoc.public java.lang.String getPkgName(ClassDoc cd)
cd - ClassDoc.public void printFramesetHeader(java.lang.String title)
title - Title of this HTML document.
public void printFramesetHeader(java.lang.String title,
boolean noTimeStamp)
title - Title of this HTML document.noTimeStamp - If true, don't print time stamp in header.public java.lang.String spaces(int len)
len - Number of spaces.public void printBodyHtmlEnd()
public void printFooter()
printBodyHtmlEnd() method.
public void printFrameFooter()
public void printNbsps()
public java.lang.String today()
Calendar,
GregorianCalendar,
TimeZone
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||