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.
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 AbstractBuilder
AbstractBuilder.Context -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ContentDeprecated.The content that will be added to the serialized form documentation tree.private ClassDocDeprecated.The current class being documented.protected MemberDocDeprecated.The current member being documented.private PackageDocDeprecated.The current package being documented.Deprecated.The writer for serializable fields.Deprecated.The writer for serializable method documentation.static final StringDeprecated.The root element of the serialized form XML is "SerializedForm".private static final StringDeprecated.The header for the serial version UID.private SerializedFormWriterDeprecated.The writer for this builder.Fields inherited from class AbstractBuilder
configuration, containingPackagesSeen, DEBUG, layoutParser, utils -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDeprecated.Construct a new SerializedFormBuilder. -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild()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.getName()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 booleanDeprecated.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 AbstractBuilder
build, buildChildren, invokeMethod
-
Field Details
-
NAME
Deprecated.The root element of the serialized form XML is "SerializedForm".- See Also:
-
writer
-
fieldWriter
Deprecated.The writer for serializable fields. -
methodWriter
Deprecated.The writer for serializable method documentation. -
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:
-
currentPackage
-
currentClass
-
currentMember
-
contentTree
Deprecated.The content that will be added to the serialized form documentation tree.
-
-
Constructor Details
-
SerializedFormBuilder
Deprecated.Construct a new SerializedFormBuilder.- Parameters:
context- the build context.
-
-
Method Details
-
getInstance
Deprecated.Construct a new SerializedFormBuilder.- Parameters:
context- the build context.
-
build
Deprecated.Build the serialized form.- 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.
-
buildSerializedForm
-
buildSerializedFormSummaries
-
buildPackageSerializedForm
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
-
buildClassSerializedForm
-
buildSerialUIDInfo
-
buildClassContent
-
buildSerializableMethods
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
-
buildDeprecatedMethodInfo
-
buildMethodInfo
-
buildMethodDescription
-
buildMethodTags
-
buildFieldHeader
-
buildFieldSerializationOverview
-
buildSerializableFields
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
-
buildFieldDeprecationInfo
-
buildSerialFieldTagsInfo
Deprecated.Build the serial field tags information.- Parameters:
serializableFieldsTree- content tree to which the documentation will be added
-
buildFieldInfo
-
serialInclude
Deprecated.Return true if the given Doc should be included in the serialized form.- Parameters:
doc- the Doc object to check for serializability.
-
serialClassInclude
Deprecated.Return true if the given ClassDoc should be included in the serialized form.- Parameters:
cd- the ClassDoc object to check for serializability.
-
serialDocInclude
Deprecated.Return true if the given Doc should be included in the serialized form.- Parameters:
doc- the Doc object to check for serializability.
-
serialClassFoundToDocument
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.
-