| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
| <meta http-equiv="Content-Style-Type" content="text/css"> | |
| <meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]"> | |
| <title> | |
| Javadoc generation | |
| </title> | |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> | |
| </head> | |
| <body> | |
| <h1> | |
| Javadoc generation | |
| </h1> | |
| <p> | |
| This wizard allows you to generate Javadoc Generation.It is a user interface for the javadoc.exe tool available in the Java JDK. Visit <a href= | |
| "http://java.sun.com/j2se/1.4/docs/tooldocs/javadoc/index.html">Sun's Javadoc Tool</a> page for a complete documentation of the Javadoc tool. | |
| </p> | |
| <p> | |
| To run this wizard a Javadoc command must be configured in the <a href="ref-preferences-javadoc.htm">Javadoc preference page</a> (Window > Preferences > Java > | |
| Javadoc). | |
| </p> | |
| <h2> | |
| First page | |
| </h2> | |
| <p> | |
| Type Selection: | |
| </p> | |
| <table border="1" cellspacing="0"> | |
| <tr> | |
| <th> | |
| <p> | |
| Option | |
| </p> | |
| </th> | |
| <th> | |
| <p> | |
| Description | |
| </p> | |
| </th> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Select types for which Javadoc will be generated | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| <p> | |
| In the list, check or clear the boxes to specify exactly the types that you want to export to the JAR file. This list is initialized by the workbench selection. Only | |
| one project can be selected at once as only one project's classpath can be used at a time when running the Javadoc tool. | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Create Javadoc for members with visibility | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| <ul> | |
| <li> | |
| <strong>Private</strong>: All members will be documented | |
| </li> | |
| <li> | |
| <strong>Package</strong>: Only members with default, protected or public visibility will be documented | |
| </li> | |
| <li> | |
| <strong>Protected</strong>: Only members with protected or public visibility will be documented | |
| </li> | |
| <li> | |
| <strong>Public</strong>: Only members with public visibility will be documented (default) | |
| </li> | |
| </ul> | |
| <br> | |
| <br> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Use Standard Doclet | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| <p> | |
| Start the Javadoc command with the standard doclet (default) | |
| </p> | |
| <ul> | |
| <li> | |
| <strong>Destination</strong>: select the destination to which the standard doclet will write the generated documentation. The destination is a doclet specific | |
| argument, and therefore not enabled when using a custom doclet. | |
| </li> | |
| </ul> | |
| <br> | |
| <br> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Use Custom Doclet | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| <p> | |
| Use a custom doclet to generate documentation | |
| </p> | |
| <ul> | |
| <li> | |
| <strong>Doclet name</strong>: Qualified type name of the doclet | |
| </li> | |
| <li> | |
| <strong>Doclet class path</strong>: Classpath needed by the doclet class | |
| </li> | |
| </ul> | |
| <br> | |
| <br> | |
| </td> | |
| </tr> | |
| </table> | |
| <h2> | |
| Standard doclet arguments | |
| </h2> | |
| <p> | |
| Standard Doclet Arguments (available when <strong>Use standard doclet</strong> has been selected): | |
| </p> | |
| <table border="1" cellspacing="0"> | |
| <tr> | |
| <th> | |
| <p> | |
| Option | |
| </p> | |
| </th> | |
| <th> | |
| <p> | |
| Description | |
| </p> | |
| </th> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Document title | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| Specify a document title. | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Generate use page | |
| </td> | |
| <td> | |
| Selected this option if you want the documentation to contain a Use page. | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Generate hierarchy tree | |
| </td> | |
| <td> | |
| Selected this option if you want the documentation to contain a Tree page. | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Generate navigator bar | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| Selected this option if you want the documentation to contain a navigation bar (header and footer). | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Generate index | |
| </td> | |
| <td> | |
| Selected this option if you want the documentation to contain a Index page. | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Generate index per letter | |
| </td> | |
| <td> | |
| Create an index per letter. Enabled when <strong>Generate Index</strong> is selected. | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| @author | |
| </td> | |
| <td> | |
| Selected this option if you want to the @author tag to be documented. | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| @version | |
| </td> | |
| <td> | |
| Selected this option if you want to the @version tag to be documented. | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| @deprecated | |
| </td> | |
| <td> | |
| Selected this option if you want to the @deprecated tag to be documented. | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| deprecated list | |
| </td> | |
| <td> | |
| Selected this option if you want the documentation to contain a Deprecated page. Enabled when the <strong>@deprecated</strong> option is selected. | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Select referenced classes to which Javadoc should create links | |
| </td> | |
| <td> | |
| Specify to which other documentation Javadoc should create links when other types are referenced. | |
| <ul> | |
| <li> | |
| Select All: Create links to all other documentation locations | |
| </li> | |
| <li> | |
| Clear All: Do not create links to other documentation locations | |
| </li> | |
| <li> | |
| Configure: Configure the Javadoc location of a referenced JAR or project. | |
| </li> | |
| </ul> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Style sheet | |
| </td> | |
| <td> | |
| Select the style sheet to use | |
| </td> | |
| </tr> | |
| </table> | |
| <h2> | |
| General arguments | |
| </h2> | |
| <p> | |
| General Javadoc Options: | |
| </p> | |
| <table border="1" cellspacing="0"> | |
| <tr> | |
| <th> | |
| <p> | |
| Option | |
| </p> | |
| </th> | |
| <th> | |
| <p> | |
| Description | |
| </p> | |
| </th> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Overview | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| Specifies that Javadoc should retrieve the text for the overview documentation from the given file. It will be placed in overview-summary.html. | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Extra Javadoc options | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| <p> | |
| Add any number of extra options here: Custom doclet options,VM options or JRE 1.4 compatibility options.<br> | |
| Note that arguments containing spaces must enclosed in quotes. For arguments specifying html code (e.g. -header) use the &nbsp; or &quot; to avoid spaces and | |
| quotes. | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Save the settings of this Javadoc export as an Ant script | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| <p> | |
| Specify to store an Ant script that will perform the specified Javadoc export without the need to use the wizard. Existing Ant script can be modified with this wizard | |
| (Use Open Javadoc wizard' from the context menu on the generated Ant script) | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Open generated index file in browser | |
| </td> | |
| <td> | |
| Opens the generated index.html file in the browser (Only available when using the standard doclet) | |
| </td> | |
| </tr> | |
| </table> | |
| <p> | |
| Press <strong>Finish</strong> to start the Javadoc generation. | |
| If the destination is different to the location configured the project's <a href="ref-dialog-javadoc-location.htm"> Javadoc Location page</a> , you will be asked if you | |
| want to set the project's Javadoc location to the new destination folder. By doing this, all invocations of Open External Javadoc will use the now created | |
| documentation. | |
| </p> | |
| <p> | |
| A new process will be started and the generation performed in the background. Open the <a href="ref-45.htm">Console view</a> (Window > Show View > Console) to see the | |
| progress and status of the generation. | |
| </p> | |
| <p> | |
| <img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159"><br> | |
| <a href="../tasks/tasks-196.htm">Creating Javadoc documentation</a><br> | |
| <a href="../reference/ref-menu-file.htm">File actions</a><br> | |
| <a href="../reference/ref-preferences-javadoc.htm">Javadoc preferences</a><br> | |
| <a href="../reference/ref-dialog-javadoc-location.htm">Javadoc Location properties</a> | |
| </p> | |
| <p> | |
| <a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" width="324" height="14"></a> | |
| </p> | |
| </body> | |
| </html> | |