Schnittstelle SerializedFormWriter.SerialFieldWriter
- Alle bekannten Implementierungsklassen:
HtmlSerialFieldWriter
- Umschließende Schnittstelle:
SerializedFormWriter
public static interface SerializedFormWriter.SerialFieldWriter
A writer for the serialized form for a given field.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addMemberDeprecatedInfo
(VariableElement field, Content content) Adds the deprecated information for this member.void
addMemberDescription
(VariableElement field, SerialFieldTree serialFieldTag, Content content) Adds the description text for this member represented by the tag.void
addMemberDescription
(VariableElement field, Content content) Adds the description text for this member.void
addMemberHeader
(TypeMirror fieldType, String fieldName, Content content) Adds the member header.void
addMemberTags
(VariableElement field, Content content) Adds the tag information for this member.getFieldsContentHeader
(boolean isLastContent) Gibt the field content header zurück.getSerializableFields
(String heading, Content content) Gibt the fields zurück.Gibt the serializable field header zurück.boolean
Check to see if overview details should be printed.
-
Methodendetails
-
getSerializableFieldsHeader
Gibt the serializable field header zurück.- Gibt zurück:
- the serializable field header
-
getFieldsContentHeader
Gibt the field content header zurück.- Parameter:
isLastContent
- true if this is the last content to be documented- Gibt zurück:
- the field content header
-
getSerializableFields
Gibt the fields zurück.- Parameter:
heading
- the heading to write.content
- the content to be added- Gibt zurück:
- serializable fields content
-
addMemberDeprecatedInfo
Adds the deprecated information for this member.- Parameter:
field
- the field to document.content
- the content to which the deprecated information will be added
-
addMemberDescription
Adds the description text for this member.- Parameter:
field
- the field to documentcontent
- the content to which the member description will be added
-
addMemberDescription
Adds the description text for this member represented by the tag.- Parameter:
field
- the field to documentserialFieldTag
- the field to document (represented by tag)content
- the content to which the member description will be added
-
addMemberTags
Adds the tag information for this member.- Parameter:
field
- the field to documentcontent
- the content to which the member tags will be added
-
addMemberHeader
Adds the member header.- Parameter:
fieldType
- the type of the fieldfieldName
- the name of the fieldcontent
- the content to which the member header will be added
-
shouldPrintOverview
Check to see if overview details should be printed.If nocomment option set or if there is no text to be printed for deprecation info, inline comment or tags, do not print overview details.
- Parameter:
field
- the field to check overview details for- Gibt zurück:
- true if overview details need to be printed
-