|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 |
bottom
Argument for command line option "-bottom". |
boolean |
classuse
True if command line option "-use" is used. |
static String |
CONSTANTS_FILE_NAME
The name of the constant values file. |
boolean |
createindex
False if command line option "-noindex" is used. |
boolean |
createoverview
This is true if option "-overview" is used or option "-overview" is not used and number of packages is more than one. |
boolean |
createtree
False if command line option "-notree" is used. |
com.sun.javadoc.ClassDoc |
currentcd
The classdoc for the class file getting generated. |
String |
doctitle
Argument for command line option "-doctitle". |
Extern |
extern
The tracker of external package links (sole-instance). |
String |
footer
Argument for command line option "-footer". |
Group |
group
The package grouping sole-instance. |
String |
header
Argument for command line option "-header". |
String |
helpfile
Argument for command line option "-helpfile". |
boolean |
keywords
True if user want to add member names as meta keywords. |
MetaKeywords |
metakeywords
The meta tag keywords sole-instance. |
boolean |
nocomment
True if user wants to suppress descriptions and tags. |
boolean |
nodeprecatedlist
True if command line option "-nodeprecated" is used. |
boolean |
nohelp
True if command line option "-nohelp" is used. |
boolean |
nonavbar
True if command line option "-nonavbar" is used. |
boolean |
notimestamp
True if user wants to suppress time stamp in output. |
boolean |
overview
True if command line option "-overview" is used. |
String |
packagesheader
Argument for command line option "-packagesheader". |
boolean |
printedVersion
True if version id has been printed |
boolean |
quiet
True if running in quiet mode |
boolean |
serialwarn
This is true if option "-serialwarn" is used. |
boolean |
splitindex
True if command line option "-splitindex" is used. |
com.sun.tools.doclets.MessageRetriever |
standardmessage
Unique Resource Handler for this package. |
String |
stylesheetfile
Argument for command line option "-stylesheetfile". |
TagletManager |
tagletManager
The taglet manager. |
String |
tagletpath
The path to Taglets |
String |
topFile
First file to appear in the right-hand frame in the generated documentation. |
String |
windowtitle
Argument 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 3produces 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 |