|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.doclets.internal.toolkit.AbstractDoclet
public abstract class AbstractDoclet
An abstract implementation of a Doclet. This code is not part of an API. It is implementation that is subject to change. Do not use it as an API.
| Field Summary | |
|---|---|
Configuration |
configuration
The global configuration information for this run. |
private static java.lang.String |
TOOLKIT_DOCLET_NAME
The only doclet that may use this toolkit is |
| Constructor Summary | |
|---|---|
AbstractDoclet()
|
|
| Method Summary | |
|---|---|
abstract Configuration |
configuration()
Create the configuration instance and returns it. |
protected abstract void |
generateClassFiles(ClassDoc[] arr,
ClassTree classtree)
Generate the class documentation. |
private void |
generateClassFiles(ClassTree classtree)
Generate the class files for single classes specified on the command line. |
protected void |
generateClassFiles(RootDoc root,
ClassTree classtree)
Iterate through all classes and construct documentation for them. |
protected void |
generateOtherFiles(RootDoc root,
ClassTree classtree)
Generate additional documentation that is added to the API documentation. |
protected abstract void |
generatePackageFiles(ClassTree classtree)
Generate the package documentation. |
private boolean |
isValidDoclet(AbstractDoclet doclet)
Verify that the only doclet that is using this toolkit is . |
static LanguageVersion |
languageVersion()
Indicate that this doclet supports the 1.5 language features. |
boolean |
start(AbstractDoclet doclet,
RootDoc root)
The method that starts the execution of the doclet. |
private void |
startGeneration(RootDoc root)
Start the generation of files. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Configuration configuration
private static final java.lang.String TOOLKIT_DOCLET_NAME
| Constructor Detail |
|---|
public AbstractDoclet()
| Method Detail |
|---|
private boolean isValidDoclet(AbstractDoclet doclet)
public boolean start(AbstractDoclet doclet,
RootDoc root)
doclet - the doclet to start the execution for.root - the RootDoc that points to the source to document.
public static LanguageVersion languageVersion()
public abstract Configuration configuration()
private void startGeneration(RootDoc root)
throws java.lang.Exception
java.lang.ExceptionRootDoc
protected void generateOtherFiles(RootDoc root,
ClassTree classtree)
throws java.lang.Exception
root - the RootDoc of source to document.classtree - the data structure representing the class tree.
java.lang.Exception
protected abstract void generatePackageFiles(ClassTree classtree)
throws java.lang.Exception
classtree - the data structure representing the class tree.
java.lang.Exception
protected abstract void generateClassFiles(ClassDoc[] arr,
ClassTree classtree)
classtree - the data structure representing the class tree.
protected void generateClassFiles(RootDoc root,
ClassTree classtree)
root - the RootDoc of source to document.classtree - the data structure representing the class tree.private void generateClassFiles(ClassTree classtree)
classtree - the data structure representing the class tree.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||