Interface SerializedFormWriter
- All Known Implementing Classes:
SerializedFormWriterImpl
Deprecated.
The interface for writing serialized form output.
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 TypeInterfaceDescriptionstatic interfaceDeprecated.Write the serialized form for a given field.static interfaceDeprecated.Write the serialized form for a given field. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Add the footer.voidaddPackageSerializedTree(Content serializedSummariesTree, Content packageSerializedTree) Deprecated.Add the serialized tree per package to the serialized summaries tree.voidaddSerialUIDInfo(String header, String serialUID, Content serialUidTree) Deprecated.Adds the serial UID info.voidclose()Deprecated.Close the writer.Deprecated.Get the class serialize content header.getClassHeader(ClassDoc classDoc) Deprecated.Get the heading for the serializable class.Deprecated.Get the serialized class header.Deprecated.Get the header.getPackageHeader(String packageName) Deprecated.Get the given package header.Deprecated.Get the package serialized form header.getSerialFieldWriter(ClassDoc classDoc) Deprecated.Return an instance of a SerialFieldWriter.getSerializedContent(Content serializedTreeContent) Deprecated.Get the serialized content.Deprecated.Get the serialized form summaries header.getSerialMethodWriter(ClassDoc classDoc) Deprecated.Return an instance of a SerialMethodWriter.Deprecated.Get the serial UID info header.voidprintDocument(Content serializedTree) Deprecated.Print the serialized form document.
-
Method Details
-
getHeader
-
getSerializedSummariesHeader
Content getSerializedSummariesHeader()Deprecated.Get the serialized form summaries header.- Returns:
- the serialized form summary header tree
-
getPackageSerializedHeader
Content getPackageSerializedHeader()Deprecated.Get the package serialized form header.- Returns:
- the package serialized form header tree
-
addPackageSerializedTree
Deprecated.Add the serialized tree per package to the serialized summaries tree.- Parameters:
serializedSummariesTree- the serialized tree to which the package serialized tree will be addedpackageSerializedTree- the serialized tree per package that needs to be added
-
getPackageHeader
-
getClassSerializedHeader
Content getClassSerializedHeader()Deprecated.Get the serialized class header.- Returns:
- a content tree for the serialized class header
-
getClassHeader
-
getSerialUIDInfoHeader
Content getSerialUIDInfoHeader()Deprecated.Get the serial UID info header.- Returns:
- a content tree for the serial uid info header
-
addSerialUIDInfo
-
getClassContentHeader
Content getClassContentHeader()Deprecated.Get the class serialize content header.- Returns:
- a content tree for the class serialize content header
-
getSerialFieldWriter
Deprecated.Return an instance of a SerialFieldWriter.- Returns:
- an instance of a SerialFieldWriter.
-
getSerialMethodWriter
Deprecated.Return an instance of a SerialMethodWriter.- Returns:
- an instance of a SerialMethodWriter.
-
close
-
getSerializedContent
-
printDocument
Deprecated.Print the serialized form document.- Parameters:
serializedTree- the content tree that will be printed- Throws:
IOException
-