Java Doc for JavadocTool.java in  » 6.0-JDK-Modules-com.sun » tools » com » sun » tools » javadoc » 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.javadoc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.tools.javac.main.JavaCompiler
      com.sun.tools.javadoc.JavadocTool

JavadocTool
public class JavadocTool extends com.sun.tools.javac.main.JavaCompiler (Code)
This class could be the main entry point for Javadoc when Javadoc is used as a component in a larger software system. It provides operations to construct a new javadoc processor, and to run it on a set of source files.
author:
   Neal Gafter


Field Summary
final  Annotateannotate
    
final  Contextcontext
    
 DocEnvdocenv
    
final  JavadocEnterenter
    
final  Messagermessager
    
final  JavadocClassReaderreader
    
final static  booleansurrogatesSupported
    

Constructor Summary
protected  JavadocTool(Context context)
     Construct a new JavaCompiler processor, using appropriately extended phases of the underlying compiler.

Method Summary
public  RootDocImplgetRootDocImpl(String doclocale, String encoding, ModifierFilter filter, List<String> javaNames, List<String[]> options, boolean breakiterator, List<String> subPackages, List<String> excludedPackages, boolean docClasses, boolean legacyDoclet, boolean quiet)
    
public static  booleanisValidClassName(String s)
     Return true if given file name is a valid class name (including "package-info").
Parameters:
  clazzname - the name of the class to check.
 booleanisValidPackageName(String s)
    
protected  booleankeepComments()
     For javadoc, the parser needs to keep comments.
 List<JCClassDecl>listClasses(List<JCCompilationUnit> trees)
    
public static  JavadocToolmake0(Context context)
     Construct a new javadoc tool.

Field Detail
annotate
final Annotate annotate(Code)



context
final Context context(Code)



docenv
DocEnv docenv(Code)



enter
final JavadocEnter enter(Code)



messager
final Messager messager(Code)



reader
final JavadocClassReader reader(Code)



surrogatesSupported
final static boolean surrogatesSupported(Code)
Are surrogates supported?




Constructor Detail
JavadocTool
protected JavadocTool(Context context)(Code)
Construct a new JavaCompiler processor, using appropriately extended phases of the underlying compiler.




Method Detail
getRootDocImpl
public RootDocImpl getRootDocImpl(String doclocale, String encoding, ModifierFilter filter, List<String> javaNames, List<String[]> options, boolean breakiterator, List<String> subPackages, List<String> excludedPackages, boolean docClasses, boolean legacyDoclet, boolean quiet) throws IOException(Code)



isValidClassName
public static boolean isValidClassName(String s)(Code)
Return true if given file name is a valid class name (including "package-info").
Parameters:
  clazzname - the name of the class to check. true if given class name is a valid class nameand false otherwise.



isValidPackageName
boolean isValidPackageName(String s)(Code)
Is the given string a valid package name?



keepComments
protected boolean keepComments()(Code)
For javadoc, the parser needs to keep comments. Overrides method from JavaCompiler.



listClasses
List<JCClassDecl> listClasses(List<JCCompilationUnit> trees)(Code)
From a list of top level trees, return the list of contained class definitions



make0
public static JavadocTool make0(Context context)(Code)
Construct a new javadoc tool.



Fields inherited from com.sun.tools.javac.main.JavaCompiler
protected Annotate annotate(Code)(Java Doc)
protected boolean annotationProcessingOccurred(Code)(Java Doc)
protected Attr attr(Code)(Java Doc)
public boolean attrParseOnly(Code)(Java Doc)
protected Check chk(Code)(Java Doc)
protected CompilePolicy compilePolicy(Code)(Java Doc)
final protected static Context.Key<JavaCompiler> compilerKey(Code)(Java Doc)
final protected Name completionFailureName(Code)(Java Doc)
protected Context context(Code)(Java Doc)
protected JavaCompiler delegateCompiler(Code)(Java Doc)
protected boolean devVerbose(Code)(Java Doc)
public long elapsed_msec(Code)(Java Doc)
public String encoding(Code)(Java Doc)
protected Enter enter(Code)(Java Doc)
protected boolean explicitAnnotationProcessingRequested(Code)(Java Doc)
protected JavaFileManager fileManager(Code)(Java Doc)
protected Flow flow(Code)(Java Doc)
protected Gen gen(Code)(Java Doc)
public boolean genEndPos(Code)(Java Doc)
protected boolean implicitSourceFilesRead(Code)(Java Doc)
protected ImplicitSourcePolicy implicitSourcePolicy(Code)(Java Doc)
protected Set<JavaFileObject> inputFiles(Code)(Java Doc)
public boolean keepComments(Code)(Java Doc)
public boolean lineDebugInfo(Code)(Java Doc)
public Log log(Code)(Java Doc)
protected TreeMaker make(Code)(Java Doc)
protected Name.Table names(Code)(Java Doc)
protected Parser.Factory parserFactory(Code)(Java Doc)
public boolean printFlat(Code)(Java Doc)
protected boolean processPcks(Code)(Java Doc)
protected ClassReader reader(Code)(Java Doc)
protected Source source(Code)(Java Doc)
public boolean sourceOutput(Code)(Java Doc)
public boolean stubOutput(Code)(Java Doc)
protected Symtab syms(Code)(Java Doc)
protected TaskListener taskListener(Code)(Java Doc)
public Todo todo(Code)(Java Doc)
protected Types types(Code)(Java Doc)
public boolean verbose(Code)(Java Doc)
public boolean verboseCompilePolicy(Code)(Java Doc)
protected ClassWriter writer(Code)(Java Doc)

Methods inherited from com.sun.tools.javac.main.JavaCompiler
public List<Env<AttrContext>> attribute(ListBuffer<Env<AttrContext>> envs)(Code)(Java Doc)
public Env<AttrContext> attribute(Env<AttrContext> env)(Code)(Java Doc)
public void close()(Code)(Java Doc)
public void compile(List<JavaFileObject> sourceFileObject) throws Throwable(Code)(Java Doc)
public void compile(List<JavaFileObject> sourceFileObjects, List<String> classnames, Iterable<? extends Processor> processors) throws IOException(Code)(Java Doc)
public void complete(ClassSymbol c) throws CompletionFailure(Code)(Java Doc)
public List<Pair<Env<AttrContext>, JCClassDecl>> desugar(List<Env<AttrContext>> envs)(Code)(Java Doc)
protected void desugar(Env<AttrContext> env, ListBuffer<Pair<Env<AttrContext>, JCClassDecl>> results)(Code)(Java Doc)
public boolean desugarLater(Env<AttrContext> env)(Code)(Java Doc)
public static void enableLogging()(Code)(Java Doc)
public List<JCCompilationUnit> enterTrees(List<JCCompilationUnit> roots)(Code)(Java Doc)
public int errorCount()(Code)(Java Doc)
public List<Env<AttrContext>> flow(List<Env<AttrContext>> envs)(Code)(Java Doc)
public List<Env<AttrContext>> flow(Env<AttrContext> env)(Code)(Java Doc)
protected void flow(Env<AttrContext> env, ListBuffer<Env<AttrContext>> results)(Code)(Java Doc)
public static String fullVersion()(Code)(Java Doc)
public void generate(List<Pair<Env<AttrContext>, JCClassDecl>> list)(Code)(Java Doc)
public void generate(List<Pair<Env<AttrContext>, JCClassDecl>> list, ListBuffer<JavaFileObject> results)(Code)(Java Doc)
protected Scanner.Factory getScannerFactory()(Code)(Java Doc)
public void initProcessAnnotations(Iterable<? extends Processor> processors)(Code)(Java Doc)
public void initRound(JavaCompiler prev)(Code)(Java Doc)
public static JavaCompiler instance(Context context)(Code)(Java Doc)
protected boolean keepComments()(Code)(Java Doc)
protected JCCompilationUnit parse(JavaFileObject filename, CharSequence content)(Code)(Java Doc)
public JCTree.JCCompilationUnit parse(String filename) throws IOException(Code)(Java Doc)
public JCTree.JCCompilationUnit parse(JavaFileObject filename)(Code)(Java Doc)
public boolean parseErrors()(Code)(Java Doc)
public List<JCCompilationUnit> parseFiles(List<JavaFileObject> fileObjects) throws IOException(Code)(Java Doc)
protected void printCount(String kind, int count)(Code)(Java Doc)
protected void printVerbose(String key, Object arg)(Code)(Java Doc)
public JavaCompiler processAnnotations(List<JCCompilationUnit> roots) throws IOException(Code)(Java Doc)
public JavaCompiler processAnnotations(List<JCCompilationUnit> roots, List<String> classnames) throws IOException(Code)(Java Doc)
public CharSequence readSource(JavaFileObject filename)(Code)(Java Doc)
public void reportDeferredDiagnostics()(Code)(Java Doc)
public Symbol resolveIdent(String name)(Code)(Java Doc)
final protected List<T> stopIfError(ListBuffer<T> listBuffer)(Code)(Java Doc)
final protected List<T> stopIfError(List<T> list)(Code)(Java Doc)
public static String version()(Code)(Java Doc)
public int warningCount()(Code)(Java Doc)

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.