Class ConstantsSummaryBuilder
java.lang.Object
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.ConstantsSummaryBuilder
Deprecated.
Builds the Constants Summary Page.
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.
- Since:
- 1.5
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classDeprecated.Print the table of constants.Nested classes/interfaces inherited from class AbstractBuilder
AbstractBuilder.Context -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.The set of ClassDocs that have constant fields.private ContentDeprecated.The content tree for the constant summary documentation.private ClassDocDeprecated.The current class being documented.private PackageDocDeprecated.The current package being documented.private booleanDeprecated.True if first package is listed.static final intDeprecated.The maximum number of package directories shown in the constant value index.Deprecated.The set of printed package headers.static final StringDeprecated.The root element of the constant summary XML is "ConstantSummary".protected final ConstantsSummaryWriterDeprecated.The writer used to write the results.Fields inherited from class AbstractBuilder
configuration, containingPackagesSeen, DEBUG, layoutParser, utils -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateConstantsSummaryBuilder(AbstractBuilder.Context context, ConstantsSummaryWriter writer) Deprecated.Construct a new ConstantsSummaryBuilder. -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild()Deprecated.Build the documentation.voidbuildClassConstantSummary(XMLNode node, Content summariesTree) Deprecated.Build the summary for the current class.voidbuildConstantMembers(XMLNode node, Content classConstantTree) Deprecated.Build the summary of constant members in the class.voidbuildConstantSummaries(XMLNode node, Content contentTree) Deprecated.Build the summary for each documented package.voidbuildConstantSummary(XMLNode node, Content contentTree) Deprecated.Build the constant summary.voidbuildContents(XMLNode node, Content contentTree) Deprecated.Build the list of packages.voidbuildPackageHeader(XMLNode node, Content summariesTree) Deprecated.Build the header for the given package.static ConstantsSummaryBuildergetInstance(AbstractBuilder.Context context, ConstantsSummaryWriter writer) Deprecated.Construct a ConstantsSummaryBuilder.getName()Deprecated.Return the name of this builder.private booleanhasConstantField(ClassDoc classDoc) Deprecated.Return true if the given class has constant fields to document.private booleanDeprecated.Return true if the given package has constant fields to document.private booleanhasPrintedPackageIndex(String pkgname) Deprecated.Return true if the given package name has been printed.private StringparsePackageName(String pkgname) Deprecated.Parse the package name.Methods inherited from class AbstractBuilder
build, buildChildren, invokeMethod
-
Field Details
-
ROOT
Deprecated.The root element of the constant summary XML is "ConstantSummary".- See Also:
-
MAX_CONSTANT_VALUE_INDEX_LENGTH
public static final int MAX_CONSTANT_VALUE_INDEX_LENGTHDeprecated.The maximum number of package directories shown in the constant value index.- See Also:
-
writer
-
classDocsWithConstFields
-
printedPackageHeaders
-
currentPackage
-
currentClass
-
contentTree
-
first
private boolean firstDeprecated.True if first package is listed.
-
-
Constructor Details
-
ConstantsSummaryBuilder
Deprecated.Construct a new ConstantsSummaryBuilder.- Parameters:
context- the build context.writer- the writer for the summary.
-
-
Method Details
-
getInstance
public static ConstantsSummaryBuilder getInstance(AbstractBuilder.Context context, ConstantsSummaryWriter writer) Deprecated.Construct a ConstantsSummaryBuilder.- Parameters:
context- the build context.writer- the writer for the summary.
-
build
Deprecated.Build the documentation.- Specified by:
buildin classAbstractBuilder- Throws:
IOException- if there is a problem writing the output
-
getName
Deprecated.Return the name of this builder.- Specified by:
getNamein classAbstractBuilder- Returns:
- the name of the builder.
-
buildConstantSummary
-
buildContents
-
buildConstantSummaries
-
buildPackageHeader
-
buildClassConstantSummary
-
buildConstantMembers
-
hasConstantField
Deprecated.Return true if the given package has constant fields to document.- Parameters:
pkg- the package being checked.- Returns:
- true if the given package has constant fields to document.
-
hasConstantField
Deprecated.Return true if the given class has constant fields to document.- Parameters:
classDoc- the class being checked.- Returns:
- true if the given package has constant fields to document.
-
hasPrintedPackageIndex
Deprecated.Return true if the given package name has been printed. Also return true if the root of this package has been printed.- Parameters:
pkgname- the name of the package to check.
-
parsePackageName
-