Class SerializedFormBuilder
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder
-
@Deprecated public class SerializedFormBuilder extends AbstractBuilder
Deprecated.Builds the serialized form.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 serialized form documentation tree.private ClassDoccurrentClassDeprecated.The current class being documented.protected MemberDoccurrentMemberDeprecated.The current member being documented.private PackageDoccurrentPackageDeprecated.The current package being documented.private SerializedFormWriter.SerialFieldWriterfieldWriterDeprecated.The writer for serializable fields.private SerializedFormWriter.SerialMethodWritermethodWriterDeprecated.The writer for serializable method documentation.static java.lang.StringNAMEDeprecated.The root element of the serialized form XML is "SerializedForm".private static java.lang.StringSERIAL_VERSION_UID_HEADERDeprecated.The header for the serial version UID.private SerializedFormWriterwriterDeprecated.The writer for this builder.-
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 privateSerializedFormBuilder(AbstractBuilder.Context context)Deprecated.Construct a new SerializedFormBuilder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidbuild()Deprecated.Build the serialized form.voidbuildClassContent(XMLNode node, Content classTree)Deprecated.Build the summaries for the methods and fields.voidbuildClassSerializedForm(XMLNode node, Content packageSerializedTree)Deprecated.Build the class serialized form.voidbuildDeprecatedMethodInfo(XMLNode node, Content methodsContentTree)Deprecated.Build the deprecated method description.voidbuildFieldDeprecationInfo(XMLNode node, Content fieldsContentTree)Deprecated.Build the field deprecation information.voidbuildFieldHeader(XMLNode node, Content classContentTree)Deprecated.Build the field header.voidbuildFieldInfo(XMLNode node, Content fieldsContentTree)Deprecated.Build the field information.voidbuildFieldSerializationOverview(ClassDoc classDoc, Content classContentTree)Deprecated.Build the serialization overview for the given class.voidbuildFieldSubHeader(XMLNode node, Content fieldsContentTree)Deprecated.Build the field sub header.voidbuildMethodDescription(XMLNode node, Content methodsContentTree)Deprecated.Build method description.voidbuildMethodInfo(XMLNode node, Content methodsContentTree)Deprecated.Build the information for the method.voidbuildMethodSubHeader(XMLNode node, Content methodsContentTree)Deprecated.Build the method sub header.voidbuildMethodTags(XMLNode node, Content methodsContentTree)Deprecated.Build the method tags.voidbuildPackageHeader(XMLNode node, Content packageSerializedTree)Deprecated.Build the package header.voidbuildPackageSerializedForm(XMLNode node, Content serializedSummariesTree)Deprecated.Build the package serialized form for the current package being processed.voidbuildSerialFieldTagsInfo(Content serializableFieldsTree)Deprecated.Build the serial field tags information.voidbuildSerializableFields(XMLNode node, Content classContentTree)Deprecated.Build the summaries for the fields that belong to the given class.voidbuildSerializableMethods(XMLNode node, Content classContentTree)Deprecated.Build the summaries for the methods that belong to the given class.voidbuildSerializedForm(XMLNode node, Content serializedTree)Deprecated.Build the serialized form.voidbuildSerializedFormSummaries(XMLNode node, Content serializedTree)Deprecated.Build the serialized form summaries.voidbuildSerialUIDInfo(XMLNode node, Content classTree)Deprecated.Build the serial UID information for the given class.static SerializedFormBuildergetInstance(AbstractBuilder.Context context)Deprecated.Construct a new SerializedFormBuilder.java.lang.StringgetName()Deprecated.Return the name of this builder.private booleanserialClassFoundToDocument(ClassDoc[] classes)Deprecated.Return true if any of the given classes have a @serialinclude tag.private static booleanserialClassInclude(ClassDoc cd)Deprecated.Return true if the given ClassDoc should be included in the serialized form.private static booleanserialDocInclude(Doc doc)Deprecated.Return true if the given Doc should be included in the serialized form.static booleanserialInclude(Doc doc)Deprecated.Return true if the given Doc should be included in the serialized form.-
Methods inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder
build, buildChildren, invokeMethod
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
Deprecated.The root element of the serialized form XML is "SerializedForm".- See Also:
- Constant Field Values
-
writer
private SerializedFormWriter writer
Deprecated.The writer for this builder.
-
fieldWriter
private SerializedFormWriter.SerialFieldWriter fieldWriter
Deprecated.The writer for serializable fields.
-
methodWriter
private SerializedFormWriter.SerialMethodWriter methodWriter
Deprecated.The writer for serializable method documentation.
-
SERIAL_VERSION_UID_HEADER
private static final java.lang.String SERIAL_VERSION_UID_HEADER
Deprecated.The header for the serial version UID. Save the string here instead of the properties file because we do not want this string to be localized.- See Also:
- Constant Field Values
-
currentPackage
private PackageDoc currentPackage
Deprecated.The current package being documented.
-
currentClass
private ClassDoc currentClass
Deprecated.The current class being documented.
-
currentMember
protected MemberDoc currentMember
Deprecated.The current member being documented.
-
contentTree
private Content contentTree
Deprecated.The content that will be added to the serialized form documentation tree.
-
-
Constructor Detail
-
SerializedFormBuilder
private SerializedFormBuilder(AbstractBuilder.Context context)
Deprecated.Construct a new SerializedFormBuilder.- Parameters:
context- the build context.
-
-
Method Detail
-
getInstance
public static SerializedFormBuilder getInstance(AbstractBuilder.Context context)
Deprecated.Construct a new SerializedFormBuilder.- Parameters:
context- the build context.
-
build
public void build() throws java.io.IOExceptionDeprecated.Build the serialized form.- 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.
-
buildSerializedForm
public void buildSerializedForm(XMLNode node, Content serializedTree) throws java.lang.Exception
Deprecated.Build the serialized form.- Parameters:
node- the XML element that specifies which components to documentserializedTree- content tree to which the documentation will be added- Throws:
java.lang.Exception
-
buildSerializedFormSummaries
public void buildSerializedFormSummaries(XMLNode node, Content serializedTree)
Deprecated.Build the serialized form summaries.- Parameters:
node- the XML element that specifies which components to documentserializedTree- content tree to which the documentation will be added
-
buildPackageSerializedForm
public void buildPackageSerializedForm(XMLNode node, Content serializedSummariesTree)
Deprecated.Build the package serialized form for the current package being processed.- Parameters:
node- the XML element that specifies which components to documentserializedSummariesTree- content tree to which the documentation will be added
-
buildPackageHeader
public void buildPackageHeader(XMLNode node, Content packageSerializedTree)
Deprecated.Build the package header.- Parameters:
node- the XML element that specifies which components to documentpackageSerializedTree- content tree to which the documentation will be added
-
buildClassSerializedForm
public void buildClassSerializedForm(XMLNode node, Content packageSerializedTree)
Deprecated.Build the class serialized form.- Parameters:
node- the XML element that specifies which components to documentpackageSerializedTree- content tree to which the documentation will be added
-
buildSerialUIDInfo
public void buildSerialUIDInfo(XMLNode node, Content classTree)
Deprecated.Build the serial UID information for the given class.- Parameters:
node- the XML element that specifies which components to documentclassTree- content tree to which the serial UID information will be added
-
buildClassContent
public void buildClassContent(XMLNode node, Content classTree)
Deprecated.Build the summaries for the methods and fields.- Parameters:
node- the XML element that specifies which components to documentclassTree- content tree to which the documentation will be added
-
buildSerializableMethods
public void buildSerializableMethods(XMLNode node, Content classContentTree)
Deprecated.Build the summaries for the methods that belong to the given class.- Parameters:
node- the XML element that specifies which components to documentclassContentTree- content tree to which the documentation will be added
-
buildMethodSubHeader
public void buildMethodSubHeader(XMLNode node, Content methodsContentTree)
Deprecated.Build the method sub header.- Parameters:
node- the XML element that specifies which components to documentmethodsContentTree- content tree to which the documentation will be added
-
buildDeprecatedMethodInfo
public void buildDeprecatedMethodInfo(XMLNode node, Content methodsContentTree)
Deprecated.Build the deprecated method description.- Parameters:
node- the XML element that specifies which components to documentmethodsContentTree- content tree to which the documentation will be added
-
buildMethodInfo
public void buildMethodInfo(XMLNode node, Content methodsContentTree)
Deprecated.Build the information for the method.- Parameters:
node- the XML element that specifies which components to documentmethodsContentTree- content tree to which the documentation will be added
-
buildMethodDescription
public void buildMethodDescription(XMLNode node, Content methodsContentTree)
Deprecated.Build method description.- Parameters:
node- the XML element that specifies which components to documentmethodsContentTree- content tree to which the documentation will be added
-
buildMethodTags
public void buildMethodTags(XMLNode node, Content methodsContentTree)
Deprecated.Build the method tags.- Parameters:
node- the XML element that specifies which components to documentmethodsContentTree- content tree to which the documentation will be added
-
buildFieldHeader
public void buildFieldHeader(XMLNode node, Content classContentTree)
Deprecated.Build the field header.- Parameters:
node- the XML element that specifies which components to documentclassContentTree- content tree to which the documentation will be added
-
buildFieldSerializationOverview
public void buildFieldSerializationOverview(ClassDoc classDoc, Content classContentTree)
Deprecated.Build the serialization overview for the given class.- Parameters:
classDoc- the class to print the overview for.classContentTree- content tree to which the documentation will be added
-
buildSerializableFields
public void buildSerializableFields(XMLNode node, Content classContentTree)
Deprecated.Build the summaries for the fields that belong to the given class.- Parameters:
node- the XML element that specifies which components to documentclassContentTree- content tree to which the documentation will be added
-
buildFieldSubHeader
public void buildFieldSubHeader(XMLNode node, Content fieldsContentTree)
Deprecated.Build the field sub header.- Parameters:
node- the XML element that specifies which components to documentfieldsContentTree- content tree to which the documentation will be added
-
buildFieldDeprecationInfo
public void buildFieldDeprecationInfo(XMLNode node, Content fieldsContentTree)
Deprecated.Build the field deprecation information.- Parameters:
node- the XML element that specifies which components to documentfieldsContentTree- content tree to which the documentation will be added
-
buildSerialFieldTagsInfo
public void buildSerialFieldTagsInfo(Content serializableFieldsTree)
Deprecated.Build the serial field tags information.- Parameters:
serializableFieldsTree- content tree to which the documentation will be added
-
buildFieldInfo
public void buildFieldInfo(XMLNode node, Content fieldsContentTree)
Deprecated.Build the field information.- Parameters:
node- the XML element that specifies which components to documentfieldsContentTree- content tree to which the documentation will be added
-
serialInclude
public static boolean serialInclude(Doc doc)
Deprecated.Return true if the given Doc should be included in the serialized form.- Parameters:
doc- the Doc object to check for serializability.
-
serialClassInclude
private static boolean serialClassInclude(ClassDoc cd)
Deprecated.Return true if the given ClassDoc should be included in the serialized form.- Parameters:
cd- the ClassDoc object to check for serializability.
-
serialDocInclude
private static boolean serialDocInclude(Doc doc)
Deprecated.Return true if the given Doc should be included in the serialized form.- Parameters:
doc- the Doc object to check for serializability.
-
serialClassFoundToDocument
private boolean serialClassFoundToDocument(ClassDoc[] classes)
Deprecated.Return true if any of the given classes have a @serialinclude tag.- Parameters:
classes- the classes to check.- Returns:
- true if any of the given classes have a @serialinclude tag.
-
-