Class PackageSummaryBuilder
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.PackageSummaryBuilder
-
@Deprecated public class PackageSummaryBuilder extends AbstractBuilder
Deprecated.Builds the summary for a given package.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 classes/interfaces inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder
AbstractBuilder.Context
-
-
Field Summary
Fields Modifier and Type Field Description private ContentcontentTreeDeprecated.The content that will be added to the package summary documentation tree.private PackageDocpackageDocDeprecated.The package being documented.private PackageSummaryWriterpackageWriterDeprecated.The doclet specific writer that will output the result.static java.lang.StringROOTDeprecated.The root element of the package summary XML is "PackageDoc".-
Fields inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder
configuration, containingPackagesSeen, DEBUG, layoutParser, utils
-
-
Constructor Summary
Constructors Modifier Constructor Description privatePackageSummaryBuilder(AbstractBuilder.Context context, PackageDoc pkg, PackageSummaryWriter packageWriter)Deprecated.Construct a new PackageSummaryBuilder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidbuild()Deprecated.Build the package summary.voidbuildAnnotationTypeSummary(XMLNode node, Content summaryContentTree)Deprecated.Build the summary for the annotation type in this package.voidbuildClassSummary(XMLNode node, Content summaryContentTree)Deprecated.Build the summary for the classes in this package.voidbuildContent(XMLNode node, Content contentTree)Deprecated.Build the content for the package doc.voidbuildEnumSummary(XMLNode node, Content summaryContentTree)Deprecated.Build the summary for the enums in this package.voidbuildErrorSummary(XMLNode node, Content summaryContentTree)Deprecated.Build the summary for the errors in this package.voidbuildExceptionSummary(XMLNode node, Content summaryContentTree)Deprecated.Build the summary for the exceptions in this package.voidbuildInterfaceSummary(XMLNode node, Content summaryContentTree)Deprecated.Build the summary for the interfaces in this package.voidbuildPackageDescription(XMLNode node, Content packageContentTree)Deprecated.Build the description of the summary.voidbuildPackageDoc(XMLNode node, Content contentTree)Deprecated.Build the package documentation.voidbuildPackageTags(XMLNode node, Content packageContentTree)Deprecated.Build the tags of the summary.voidbuildSummary(XMLNode node, Content packageContentTree)Deprecated.Build the package summary.static PackageSummaryBuildergetInstance(AbstractBuilder.Context context, PackageDoc pkg, PackageSummaryWriter packageWriter)Deprecated.Construct a new PackageSummaryBuilder.java.lang.StringgetName()Deprecated.Return the name of this builder.-
Methods inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder
build, buildChildren, invokeMethod
-
-
-
-
Field Detail
-
ROOT
public static final java.lang.String ROOT
Deprecated.The root element of the package summary XML is "PackageDoc".- See Also:
- Constant Field Values
-
packageDoc
private final PackageDoc packageDoc
Deprecated.The package being documented.
-
packageWriter
private final PackageSummaryWriter packageWriter
Deprecated.The doclet specific writer that will output the result.
-
contentTree
private Content contentTree
Deprecated.The content that will be added to the package summary documentation tree.
-
-
Constructor Detail
-
PackageSummaryBuilder
private PackageSummaryBuilder(AbstractBuilder.Context context, PackageDoc pkg, PackageSummaryWriter packageWriter)
Deprecated.Construct a new PackageSummaryBuilder.- Parameters:
context- the build context.pkg- the package being documented.packageWriter- the doclet specific writer that will output the result.
-
-
Method Detail
-
getInstance
public static PackageSummaryBuilder getInstance(AbstractBuilder.Context context, PackageDoc pkg, PackageSummaryWriter packageWriter)
Deprecated.Construct a new PackageSummaryBuilder.- Parameters:
context- the build context.pkg- the package being documented.packageWriter- the doclet specific writer that will output the result.- Returns:
- an instance of a PackageSummaryBuilder.
-
build
public void build() throws java.io.IOExceptionDeprecated.Build the package summary.- Specified by:
buildin classAbstractBuilder- Throws:
java.io.IOException- if there is a problem writing the output
-
getName
public java.lang.String getName()
Deprecated.Return the name of this builder.- Specified by:
getNamein classAbstractBuilder- Returns:
- the name of the builder.
-
buildPackageDoc
public void buildPackageDoc(XMLNode node, Content contentTree) throws java.lang.Exception
Deprecated.Build the package documentation.- Parameters:
node- the XML element that specifies which components to documentcontentTree- the content tree to which the documentation will be added- Throws:
java.lang.Exception
-
buildContent
public void buildContent(XMLNode node, Content contentTree)
Deprecated.Build the content for the package doc.- Parameters:
node- the XML element that specifies which components to documentcontentTree- the content tree to which the package contents will be added
-
buildSummary
public void buildSummary(XMLNode node, Content packageContentTree)
Deprecated.Build the package summary.- Parameters:
node- the XML element that specifies which components to documentpackageContentTree- the package content tree to which the summaries will be added
-
buildInterfaceSummary
public void buildInterfaceSummary(XMLNode node, Content summaryContentTree)
Deprecated.Build the summary for the interfaces in this package.- Parameters:
node- the XML element that specifies which components to documentsummaryContentTree- the summary tree to which the interface summary will be added
-
buildClassSummary
public void buildClassSummary(XMLNode node, Content summaryContentTree)
Deprecated.Build the summary for the classes in this package.- Parameters:
node- the XML element that specifies which components to documentsummaryContentTree- the summary tree to which the class summary will be added
-
buildEnumSummary
public void buildEnumSummary(XMLNode node, Content summaryContentTree)
Deprecated.Build the summary for the enums in this package.- Parameters:
node- the XML element that specifies which components to documentsummaryContentTree- the summary tree to which the enum summary will be added
-
buildExceptionSummary
public void buildExceptionSummary(XMLNode node, Content summaryContentTree)
Deprecated.Build the summary for the exceptions in this package.- Parameters:
node- the XML element that specifies which components to documentsummaryContentTree- the summary tree to which the exception summary will be added
-
buildErrorSummary
public void buildErrorSummary(XMLNode node, Content summaryContentTree)
Deprecated.Build the summary for the errors in this package.- Parameters:
node- the XML element that specifies which components to documentsummaryContentTree- the summary tree to which the error summary will be added
-
buildAnnotationTypeSummary
public void buildAnnotationTypeSummary(XMLNode node, Content summaryContentTree)
Deprecated.Build the summary for the annotation type in this package.- Parameters:
node- the XML element that specifies which components to documentsummaryContentTree- the summary tree to which the annotation type summary will be added
-
buildPackageDescription
public void buildPackageDescription(XMLNode node, Content packageContentTree)
Deprecated.Build the description of the summary.- Parameters:
node- the XML element that specifies which components to documentpackageContentTree- the tree to which the package description will be added
-
-