Class AbstractDoclet
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.AbstractDoclet
-
- Direct Known Subclasses:
HtmlDoclet
@Deprecated public abstract class AbstractDoclet extends java.lang.ObjectDeprecated.An abstract implementation of a Doclet.This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
-
-
Field Summary
Fields Modifier and Type Field Description ConfigurationconfigurationDeprecated.The global configuration information for this run.private static java.lang.StringTOOLKIT_DOCLET_NAMEDeprecated.The only doclet that may use this toolkit isprotected UtilsutilsDeprecated.
-
Constructor Summary
Constructors Constructor Description AbstractDoclet()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract Configurationconfiguration()Deprecated.Create the configuration instance and returns it.protected abstract voidgenerateClassFiles(ClassDoc[] arr, ClassTree classtree)Deprecated.Generate the class documentation.protected voidgenerateClassFiles(RootDoc root, ClassTree classtree)Deprecated.Iterate through all classes and construct documentation for them.private voidgenerateClassFiles(ClassTree classtree)Deprecated.Generate the class files for single classes specified on the command line.protected voidgenerateOtherFiles(RootDoc root, ClassTree classtree)Deprecated.Generate additional documentation that is added to the API documentation.protected abstract voidgeneratePackageFiles(ClassTree classtree)Deprecated.Generate the package documentation.private booleanisValidDoclet()Deprecated.Verify that the only doclet that is using this toolkit is .static LanguageVersionlanguageVersion()Deprecated.Indicate that this doclet supports the 1.5 language features.booleanstartDoclet(RootDoc root)Deprecated.The method that starts the execution of the doclet.private voidstartGeneration(RootDoc root)Deprecated.Start the generation of files.
-
-
-
Field Detail
-
configuration
public Configuration configuration
Deprecated.The global configuration information for this run.
-
utils
protected Utils utils
Deprecated.
-
TOOLKIT_DOCLET_NAME
private static final java.lang.String TOOLKIT_DOCLET_NAME
Deprecated.The only doclet that may use this toolkit is
-
-
Method Detail
-
isValidDoclet
private boolean isValidDoclet()
Deprecated.Verify that the only doclet that is using this toolkit is .
-
startDoclet
public boolean startDoclet(RootDoc root)
Deprecated.The method that starts the execution of the doclet.- Parameters:
root- theRootDocthat points to the source to document.- Returns:
- true if the doclet executed without error. False otherwise.
-
languageVersion
public static LanguageVersion languageVersion()
Deprecated.Indicate that this doclet supports the 1.5 language features.- Returns:
- JAVA_1_5, indicating that the new features are supported.
-
configuration
public abstract Configuration configuration()
Deprecated.Create the configuration instance and returns it.- Returns:
- the configuration of the doclet.
-
startGeneration
private void startGeneration(RootDoc root) throws Configuration.Fault, java.lang.Exception
Deprecated.Start the generation of files. Call generate methods in the individual writers, which will in turn generate the documentation files. Call the TreeWriter generation first to ensure the Class Hierarchy is built first and then can be used in the later generation.- Throws:
Configuration.Faultjava.lang.Exception- See Also:
RootDoc
-
generateOtherFiles
protected void generateOtherFiles(RootDoc root, ClassTree classtree) throws java.lang.Exception
Deprecated.Generate additional documentation that is added to the API documentation.- Parameters:
root- the RootDoc of source to document.classtree- the data structure representing the class tree.- Throws:
java.lang.Exception
-
generatePackageFiles
protected abstract void generatePackageFiles(ClassTree classtree) throws java.lang.Exception
Deprecated.Generate the package documentation.- Parameters:
classtree- the data structure representing the class tree.- Throws:
java.lang.Exception
-
generateClassFiles
protected abstract void generateClassFiles(ClassDoc[] arr, ClassTree classtree)
Deprecated.Generate the class documentation.- Parameters:
classtree- the data structure representing the class tree.
-
generateClassFiles
protected void generateClassFiles(RootDoc root, ClassTree classtree)
Deprecated.Iterate through all classes and construct documentation for them.- Parameters:
root- the RootDoc of source to document.classtree- the data structure representing the class tree.
-
generateClassFiles
private void generateClassFiles(ClassTree classtree)
Deprecated.Generate the class files for single classes specified on the command line.- Parameters:
classtree- the data structure representing the class tree.
-
-