| Modifier and Type | Field and Description |
|---|---|
| private final HtmlConfiguration | |
| private final Messages | |
| private static final String | NEW_LINE
New line to be added to the documentation. |
| private static final int | NUM_BLANK_LINES
The number of trailing blank lines at the end of the page. |
| private final HtmlOptions | |
| private final DocPath | |
| private DocPath | relativePath
Relative path from the documentation root to the file that is being generated. |
| private final Resources | |
| private final Utils |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | addBlankLines(Content
the content to which the blank lines will be added. pre)Add trailing blank lines at the end of the page. |
| private void | |
| private static void | |
| public void | convertClass(TypeElement
the class to convert. te, DocPath the name of the directory to output to outputdir)Convert the given Class to an HTML. |
| public void | convertModule(ModuleElement
the module to convert. mdl, DocPath the name of the directory to output to. outputdir)Convert the documented packages contained in the given module to an HTML representation. |
| public void | convertPackage(PackageElement
the Package to convert. pkg, DocPath the name of the directory to output to. outputdir)Convert the Classes in the given Package to an HTML file. |
| public static void | convertRoot(HtmlConfiguration
the configuration. configuration, DocPath the name of the directory to output to. outputdir)Translate the TypeElements in the given DocletEnvironment to HTML representation. |
| pack-priv void | |
| public static HtmlId | Returns: the name of the anchor.the utility class, used to get the line number of the element utils, Element the element to check. e)Given an element, return an anchor name for it. |
| private static Content | |
| private void | writeToFile(Content
the documentation content to be written to the file. body, DocPath the path for the file. path, TypeElement te)Write the output to the file. |
| configuration | back to summary |
|---|---|
| private final HtmlConfiguration configuration | |
| messages | back to summary |
|---|---|
| private final Messages messages | |
| NEW_LINE | back to summary |
|---|---|
| private static final String NEW_LINE New line to be added to the documentation. | |
| NUM_BLANK_LINES | back to summary |
|---|---|
| private static final int NUM_BLANK_LINES The number of trailing blank lines at the end of the page. This is inserted so that anchors at the bottom of small pages can be reached. | |
| options | back to summary |
|---|---|
| private final HtmlOptions options | |
| outputdir | back to summary |
|---|---|
| private final DocPath outputdir | |
| relativePath | back to summary |
|---|---|
| private DocPath relativePath Relative path from the documentation root to the file that is being generated. | |
| resources | back to summary |
|---|---|
| private final Resources resources | |
| utils | back to summary |
|---|---|
| private final Utils utils | |
| SourceToHTMLConverter | back to summary |
|---|---|
| private SourceToHTMLConverter(HtmlConfiguration configuration, DocPath outputdir) | |
| addBlankLines | back to summary |
|---|---|
| private static void addBlankLines(Content pre) Add trailing blank lines at the end of the page.
| |
| addLine | back to summary |
|---|---|
| private void addLine(HtmlTree pre, String line, int currentLineNo) Add a line from source to the HTML file that is generated. | |
| addLineNo | back to summary |
|---|---|
| private static void addLineNo(Content pre, int lineno) Add the line numbers for the source code.
| |
| convertClass | back to summary |
|---|---|
| public void convertClass(TypeElement te, DocPath outputdir) throws DocFileIOException, SimpleDocletException Convert the given Class to an HTML.
| |
| convertModule | back to summary |
|---|---|
| public void convertModule(ModuleElement mdl, DocPath outputdir) throws DocFileIOException, SimpleDocletException Convert the documented packages contained in the given module to an HTML representation.
| |
| convertPackage | back to summary |
|---|---|
| public void convertPackage(PackageElement pkg, DocPath outputdir) throws DocFileIOException, SimpleDocletException Convert the Classes in the given Package to an HTML file.
| |
| convertRoot | back to summary |
|---|---|
| public static void convertRoot(HtmlConfiguration configuration, DocPath outputdir) throws DocFileIOException, SimpleDocletException Translate the TypeElements in the given DocletEnvironment to HTML representation.
| |
| generate | back to summary |
|---|---|
| pack-priv void generate() throws DocFileIOException, SimpleDocletException | |
| getAnchorName | back to summary |
|---|---|
| public static HtmlId getAnchorName(Utils utils, Element e) Given an element, return an anchor name for it. | |
| getHeader | back to summary |
|---|---|
| private static Content getHeader() Get the header.
| |
| writeToFile | back to summary |
|---|---|
| private void writeToFile(Content body, DocPath path, TypeElement te) throws DocFileIOException Write the output to the file. | |