Java Doc for Configuration.java in  » 6.0-JDK-Modules-com.sun » tools » com » sun » tools » doclets » internal » toolkit » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules com.sun » tools » com.sun.tools.doclets.internal.toolkit 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.tools.doclets.internal.toolkit.Configuration

All known Subclasses:   com.sun.tools.doclets.formats.html.ConfigurationImpl,
Configuration
abstract public class Configuration (Code)
Configure the output based on the options. Doclets should sub-class Configuration, to configure and add their own options. This class contains all user options which are supported by the 1.1 doclet and the standard doclet. This code is not part of an API. It is implementation that is subject to change. Do not use it as an API
author:
   Robert Field.
author:
   Atul Dambalkar.
author:
   Jamie Ho


Field Summary
protected  BuilderFactorybuilderFactory
     The factory for builders.
public  StringbuilderXMLPath
     The path to the builder XML input file.
public  Stringcharset
     The META charset tag used for cross-platform viewing.
public  ClassDocCatalogclassDocCatalog
    
public  booleancopydocfilesubdirs
    
public  StringdestDirName
     Destination directory name, in which doclet will generate the entire documentation.
public  StringdocFileDestDirName
     Destination directory name, in which doclet will copy the doc-files to.
public  Stringdocencoding
     Encoding for this document.
public  Stringencoding
     Encoding for this document.
protected  SetexcludedDocFileDirs
    
protected  SetexcludedQualifiers
    
final public  Externextern
     The tracker of external package links (sole-instance).
final public  Groupgroup
     The package grouping sole-instance.
public  booleankeywords
     True if user wants to add member names as meta keywords.
public  booleanlinksource
     True if we should generate browsable sources.
public  MessageRetrievermessage
     Message Retriever for the doclet, to retrieve message from the resource file for this Configuration, which is common for 1.1 and standard doclets.
final public  MetaKeywordsmetakeywords
     The meta tag keywords sole-instance.
public  booleannocomment
     True if user wants to suppress descriptions and tags.
public  booleannodeprecated
     Don't generate deprecated API information at all, if -nodeprecated option is used.
public  booleannosince
     True if command line option "-nosince" is used.
public  booleannotimestamp
     True if user wants to suppress time stamp in output.
public  PackageDoc[]packages
     An array of the packages specified on the command-line merged with the array of packages that contain the classes specified on the command-line.
public  RootDocroot
     The Root of the generated Program Structure from the Doclet API.
public  booleanserialwarn
     This is true if option "-serialwarn" is used.
public  booleanshowauthor
     Generate author specific information for all the classes if @author tag is used in the doc comment and if -author option is used.
public  booleanshowversion
     Generate version specific information for the all the classes if @version tag is used in the doc comment and if -version option is used.
public  Stringsourcepath
     Sourcepath from where to read the source files.
public  intsourcetab
     The specified amount of space between tab stops.
public  TagletManagertagletManager
     The taglet manager.
public  Stringtagletpath
    

Constructor Summary
public  Configuration()
     Constructor.

Method Summary
 StringaddTrailingFileSep(String path)
     Add a traliling file separator, if not found or strip off extra trailing file separators if any.
Parameters:
  path - Path under consideration.
public  booleangeneralValidOptions(String options, DocErrorReporter reporter)
     This checks for the validity of the options used by the user. This works exactly like com.sun.javadoc.Doclet.validOptions(String[][]DocErrorReporter) .
public  BuilderFactorygetBuilderFactory()
     Return the builder factory for this doclet.
public  InputStreamgetBuilderXML()
     Return the input stream to the builder XML.
public  StringgetClassName(ClassDoc cd)
     Return the qualified name of the ClassDoc if it's qualifier is not excluded.
abstract public  StringgetDocletSpecificBuildDate()
     Return the build date for the doclet.
abstract public  MessageRetrievergetDocletSpecificMsg()
    
abstract public  ComparatorgetMemberComparator()
     Return the comparator that will be used to sort member documentation.
public  StringgetText(String key)
    
public  StringgetText(String key, String a1)
    
public  StringgetText(String key, String a1, String a2)
    
public  StringgetText(String key, String a1, String a2, String a3)
    
abstract public  WriterFactorygetWriterFactory()
     Return the doclet specific instance of a writer factory.
public  booleanisGeneratedDoc(Doc doc)
     Return true if the doc element is getting documented, depending upon -nodeprecated option and @deprecated tag used.
public  intoptionLength(String option)
     This method should be defined in all those doclets which want to inherit from this Configuration.
public  voidsetOptions(String[][] options)
     Set the command line options supported by this configuration.
public  voidsetOptions()
     Set the command line options supported by this configuration.
abstract public  voidsetSpecificDocletOptions(String[][] options)
     This method should be defined in all those doclets(configurations), which want to derive themselves from this Configuration.
public  booleanshouldExcludeDocFileDir(String docfilesubdir)
     Return true if the given doc-file subdirectory should be excluded and false otherwise.
public  booleanshouldExcludeQualifier(String qualifier)
     Return true if the given qualifier should be excluded and false otherwise.
abstract public  booleanvalidOptions(String options, DocErrorReporter reporter)
     Perform error checking on the given options.

Field Detail
builderFactory
protected BuilderFactory builderFactory(Code)
The factory for builders.



builderXMLPath
public String builderXMLPath(Code)
The path to the builder XML input file.



charset
public String charset(Code)
The META charset tag used for cross-platform viewing.



classDocCatalog
public ClassDocCatalog classDocCatalog(Code)
The catalog of classes specified on the command-line



copydocfilesubdirs
public boolean copydocfilesubdirs(Code)
True if we should recursively copy the doc-file subdirectories



destDirName
public String destDirName(Code)
Destination directory name, in which doclet will generate the entire documentation. Default is current directory.



docFileDestDirName
public String docFileDestDirName(Code)
Destination directory name, in which doclet will copy the doc-files to.



docencoding
public String docencoding(Code)
Encoding for this document. Default is default encoding for this platform.



encoding
public String encoding(Code)
Encoding for this document. Default is default encoding for this platform.



excludedDocFileDirs
protected Set excludedDocFileDirs(Code)
The list of doc-file subdirectories to exclude



excludedQualifiers
protected Set excludedQualifiers(Code)
The list of qualifiers to exclude



extern
final public Extern extern(Code)
The tracker of external package links (sole-instance).



group
final public Group group(Code)
The package grouping sole-instance.



keywords
public boolean keywords(Code)
True if user wants to add member names as meta keywords. Set to false because meta keywords are ignored in general by most Internet search engines.



linksource
public boolean linksource(Code)
True if we should generate browsable sources.



message
public MessageRetriever message(Code)
Message Retriever for the doclet, to retrieve message from the resource file for this Configuration, which is common for 1.1 and standard doclets. TODO: Make this private!!!



metakeywords
final public MetaKeywords metakeywords(Code)
The meta tag keywords sole-instance.



nocomment
public boolean nocomment(Code)
True if user wants to suppress descriptions and tags.



nodeprecated
public boolean nodeprecated(Code)
Don't generate deprecated API information at all, if -nodeprecated option is used. nodepracted is set to true if -nodeprecated option is used. Default is generate deprected API information.



nosince
public boolean nosince(Code)
True if command line option "-nosince" is used. Default value is false.



notimestamp
public boolean notimestamp(Code)
True if user wants to suppress time stamp in output. Default is false.



packages
public PackageDoc[] packages(Code)
An array of the packages specified on the command-line merged with the array of packages that contain the classes specified on the command-line. The array is sorted.



root
public RootDoc root(Code)
The Root of the generated Program Structure from the Doclet API.



serialwarn
public boolean serialwarn(Code)
This is true if option "-serialwarn" is used. Defualt value is false to supress excessive warnings about serial tag.



showauthor
public boolean showauthor(Code)
Generate author specific information for all the classes if @author tag is used in the doc comment and if -author option is used. showauthor is set to true if -author option is used. Default is don't show author information.



showversion
public boolean showversion(Code)
Generate version specific information for the all the classes if @version tag is used in the doc comment and if -version option is used. showversion is set to true if -version option is used.Default is don't show version information.



sourcepath
public String sourcepath(Code)
Sourcepath from where to read the source files. Default is classpath.



sourcetab
public int sourcetab(Code)
The specified amount of space between tab stops.



tagletManager
public TagletManager tagletManager(Code)
The taglet manager.



tagletpath
public String tagletpath(Code)
The path to Taglets




Constructor Detail
Configuration
public Configuration()(Code)
Constructor. Constructs the message retriever with resource file.




Method Detail
addTrailingFileSep
String addTrailingFileSep(String path)(Code)
Add a traliling file separator, if not found or strip off extra trailing file separators if any.
Parameters:
  path - Path under consideration. String Properly constructed path string.



generalValidOptions
public boolean generalValidOptions(String options, DocErrorReporter reporter)(Code)
This checks for the validity of the options used by the user. This works exactly like com.sun.javadoc.Doclet.validOptions(String[][]DocErrorReporter) . This will validate the options which are shared by our doclets. For example, this method will flag an error using the DocErrorReporter if user has used "-nohelp" and "-helpfile" option together.
Parameters:
  options - options used on the command line.
Parameters:
  reporter - used to report errors. true if all the options are valid.



getBuilderFactory
public BuilderFactory getBuilderFactory()(Code)
Return the builder factory for this doclet. the builder factory for this doclet.



getBuilderXML
public InputStream getBuilderXML() throws FileNotFoundException(Code)
Return the input stream to the builder XML. the input steam to the builder XML.
throws:
  FileNotFoundException - when the given XML file cannot be found.



getClassName
public String getClassName(ClassDoc cd)(Code)
Return the qualified name of the ClassDoc if it's qualifier is not excluded. Otherwise, return the unqualified ClassDoc name.
Parameters:
  cd - the ClassDoc to check.



getDocletSpecificBuildDate
abstract public String getDocletSpecificBuildDate()(Code)
Return the build date for the doclet.



getDocletSpecificMsg
abstract public MessageRetriever getDocletSpecificMsg()(Code)
Return the doclet specific MessageRetriever the doclet specific MessageRetriever.



getMemberComparator
abstract public Comparator getMemberComparator()(Code)
Return the comparator that will be used to sort member documentation. To no do any sorting, return null. the java.util.Comparator used to sort members.



getText
public String getText(String key)(Code)



getText
public String getText(String key, String a1)(Code)



getText
public String getText(String key, String a1, String a2)(Code)



getText
public String getText(String key, String a1, String a2, String a3)(Code)



getWriterFactory
abstract public WriterFactory getWriterFactory()(Code)
Return the doclet specific instance of a writer factory. the WriterFactory for the doclet.



isGeneratedDoc
public boolean isGeneratedDoc(Doc doc)(Code)
Return true if the doc element is getting documented, depending upon -nodeprecated option and @deprecated tag used. Return true if -nodeprecated is not used or @deprecated tag is not used.



optionLength
public int optionLength(String option)(Code)
This method should be defined in all those doclets which want to inherit from this Configuration. This method should return the number of arguments to the command line option (including the option name). For example, -notimestamp is a single-argument option, so this method would return 1.
Parameters:
  option - Command line option under consideration. number of arguments to option (including theoption name). Zero return means option not known.Negative value means error occurred.



setOptions
public void setOptions(String[][] options)(Code)
Set the command line options supported by this configuration.
Parameters:
  options - the two dimensional array of options.



setOptions
public void setOptions()(Code)
Set the command line options supported by this configuration.
throws:
  DocletAbortException -



setSpecificDocletOptions
abstract public void setSpecificDocletOptions(String[][] options)(Code)
This method should be defined in all those doclets(configurations), which want to derive themselves from this Configuration. This method can be used to set its own command line options.
Parameters:
  options - The array of option names and values.
throws:
  DocletAbortException -



shouldExcludeDocFileDir
public boolean shouldExcludeDocFileDir(String docfilesubdir)(Code)
Return true if the given doc-file subdirectory should be excluded and false otherwise.
Parameters:
  docfilesubdir - the doc-files subdirectory to check.



shouldExcludeQualifier
public boolean shouldExcludeQualifier(String qualifier)(Code)
Return true if the given qualifier should be excluded and false otherwise.
Parameters:
  qualifier - the qualifier to check.



validOptions
abstract public boolean validOptions(String options, DocErrorReporter reporter)(Code)
Perform error checking on the given options.
Parameters:
  options - the given options to check.
Parameters:
  reporter - the reporter used to report errors.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.