| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.doclets.Configuration
org.freehep.tools.doclet.ConfigurationStandard
Configure the output based on the command line options.
Also determine the length of the command line option. For example, for a option "-header" there will be a string argument associated, then the the length of option "-header" is two. But for option "-nohelp" no argument is needed so it's length is 1.
Also do the error checking on the options used. For example it is illegal to use "-helpfile" option when already "-nohelp" option is used.
| Field Summary | |
|  String | baseurl//MD Re-added baseurl for sourcelinks | 
|  String | bottomArgument for command line option "-bottom". | 
|  boolean | classuseTrue if command line option "-use" is used. | 
| static String | CONSTANTS_FILE_NAMEThe name of the constant values file. | 
|  boolean | createindexFalse if command line option "-noindex" is used. | 
|  boolean | createoverviewThis is true if option "-overview" is used or option "-overview" is not used and number of packages is more than one. | 
|  boolean | createtreeFalse if command line option "-notree" is used. | 
|  com.sun.javadoc.ClassDoc | currentcdThe classdoc for the class file getting generated. | 
|  String | doctitleArgument for command line option "-doctitle". | 
|  Extern | externThe tracker of external package links (sole-instance). | 
|  String | footerArgument for command line option "-footer". | 
|  Group | groupThe package grouping sole-instance. | 
|  String | headerArgument for command line option "-header". | 
|  String | helpfileArgument for command line option "-helpfile". | 
|  boolean | keywordsTrue if user want to add member names as meta keywords. | 
|  MetaKeywords | metakeywordsThe meta tag keywords sole-instance. | 
|  boolean | nocommentTrue if user wants to suppress descriptions and tags. | 
|  boolean | nodeprecatedlistTrue if command line option "-nodeprecated" is used. | 
|  boolean | nohelpTrue if command line option "-nohelp" is used. | 
|  boolean | nonavbarTrue if command line option "-nonavbar" is used. | 
|  boolean | notimestampTrue if user wants to suppress time stamp in output. | 
|  boolean | overviewTrue if command line option "-overview" is used. | 
|  String | packagesheaderArgument for command line option "-packagesheader". | 
|  boolean | printedVersionTrue if version id has been printed | 
|  boolean | quietTrue if running in quiet mode | 
|  boolean | serialwarnThis is true if option "-serialwarn" is used. | 
|  boolean | splitindexTrue if command line option "-splitindex" is used. | 
|  com.sun.tools.doclets.MessageRetriever | standardmessageUnique Resource Handler for this package. | 
|  String | stylesheetfileArgument for command line option "-stylesheetfile". | 
|  TagletManager | tagletManagerThe taglet manager. | 
|  String | tagletpathThe path to Taglets | 
|  String | topFileFirst file to appear in the right-hand frame in the generated documentation. | 
|  String | windowtitleArgument for command line option "-windowtitle". | 
| Fields inherited from class com.sun.tools.doclets.Configuration | 
| charset, classDocCatalog, copydocfilesubdirs, DEFAULT_TAB_STOP_LENGTH, destdirname, docencoding, encoding, excludedDocFileDirs, excludedQualifiers, genSrc, linksourcetab, message, nodate, nodeprecated, nosince, packages, root, showauthor, showversion, SOURCE_OUTPUT_DIR_NAME, sourcepath | 
| Constructor Summary | |
| ConfigurationStandard()Constructor. | |
| Method Summary | |
| protected  boolean | checkForDeprecation(com.sun.javadoc.RootDoc root) | 
| protected  com.sun.javadoc.ClassDoc | getValidClass(com.sun.javadoc.ClassDoc[] classarr) | 
|  boolean | isGeneratedDoc(com.sun.javadoc.Doc doc)Return true if the doc element is getting documented, depending upon -nodeprecated option and @deprecated tag used. | 
|  int | optionLength(String option)Returns the "length" of a given option. | 
| protected  void | setCreateOverview()Generate "overview.html" page if option "-overview" is used or number of packages is more than one. | 
|  void | setSpecificDocletOptions(com.sun.javadoc.RootDoc root)Depending upon the command line options provided by the user, set configure the output generation environment. | 
| protected  void | setTopFile(com.sun.javadoc.RootDoc root)Decide the page which will appear first in the right-hand frame. | 
|  boolean | validOptions(String[][] options,
             com.sun.javadoc.DocErrorReporter reporter)After parsing the available options using optionLength(String),
 JavaDoc invokes this method with an array of options-arrays, where
 the first item in any array is the option, and subsequent items in
 that array are its arguments. | 
| Methods inherited from class com.sun.tools.doclets.Configuration | 
| addToSet, checkOutputFileEncoding, generalOptionLength, generalValidOptions, getClassName, setOptions, shouldExcludeDocFileDir, shouldExcludeQualifier | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final String CONSTANTS_FILE_NAME
public TagletManager tagletManager
public String tagletpath
public boolean nocomment
public boolean notimestamp
public boolean keywords
public String header
public String packagesheader
public String footer
public String doctitle
public String windowtitle
public String bottom
public String helpfile
public String baseurl
public String stylesheetfile
public boolean nohelp
public boolean splitindex
public boolean createindex
public boolean classuse
public boolean createtree
public boolean nodeprecatedlist
public boolean nonavbar
public boolean overview
public boolean createoverview
public boolean serialwarn
public final com.sun.tools.doclets.MessageRetriever standardmessage
public String topFile
public com.sun.javadoc.ClassDoc currentcd
public final Extern extern
public final Group group
public final MetaKeywords metakeywords
public boolean quiet
public boolean printedVersion
| Constructor Detail | 
public ConfigurationStandard()
MessageRetriever.
| Method Detail | 
public void setSpecificDocletOptions(com.sun.javadoc.RootDoc root)
root - Used to retrieve used comand line options.public int optionLength(String option)
validOptions(String[][], DocErrorReporter) to
 validate them.
 Note:
public boolean validOptions(String[][] options,
                            com.sun.javadoc.DocErrorReporter reporter)
optionLength(String),
 JavaDoc invokes this method with an array of options-arrays, where
 the first item in any array is the option, and subsequent items in
 that array are its arguments. So, if -print is an option that takes
 no arguments, and -copies is an option that takes 1 argument, then
 
     -print -copies 3
 
 produces an array of arrays that looks like:
 
      option[0][0] = -print
      option[1][0] = -copies
      option[1][1] = 3
 
 (By convention, command line switches start with a "-", but
 they don't have to.)
 This method is not required to be written by sub-classes and will
 default gracefully (to true) if absent.
 Printing option related error messages (using the provided DocErrorReporter) is the responsibility of this method.
Note: This is invoked on a temporary config, no side-effect settings will persist.
options - Options used on the command line.reporter - Error reporter to be used.
protected void setTopFile(com.sun.javadoc.RootDoc root)
root - Root of the program structure.protected com.sun.javadoc.ClassDoc getValidClass(com.sun.javadoc.ClassDoc[] classarr)
protected boolean checkForDeprecation(com.sun.javadoc.RootDoc root)
protected void setCreateOverview()
createoverview field to true.
public boolean isGeneratedDoc(com.sun.javadoc.Doc doc)
| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||