Schnittstelle ClassWriter
- Alle bekannten Implementierungsklassen:
ClassWriterImpl
public interface ClassWriter
The interface for writing class output.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addClassContent
(Content classContent) Add the class content.void
addClassDeprecationInfo
(Content classInfo) If this class is deprecated, add the appropriate information.void
addClassDescription
(Content classInfo) Build the class description.void
addClassSignature
(Content classInfo) Add the signature of the current class content.void
addClassTagInfo
(Content classInfo) Add the tag information for the current class.void
addClassTree
(Content target) Add the class inheritance tree documentation.void
Add the footer of the page.void
addFunctionalInterfaceInfo
(Content target) If this is an functional interface, display appropriate message.void
addImplementedInterfacesInfo
(Content target) Add all implemented interfaces if this is a class.void
addInterfaceUsageInfo
(Content target) If this is an interface, add all classes that implement this interface.void
addNestedClassInfo
(Content target) If this is an inner class or interface, add the enclosing class or interface.void
addParamInfo
(Content target) Add the type parameter and state component information.void
addSubClassInfo
(Content target) Add all the classes that extend this one.void
addSubInterfacesInfo
(Content target) Add all the interfaces that extend this one.void
addSuperInterfacesInfo
(Content target) Add all superinterfaces if this is an interface.Get the class content header.getClassInfo
(Content classInfo) Gibt the class information zurück.Returns a list to be used for the list of details for members of a given kind.getDetailsListItem
(Content content) Returns an item for the list of details for members of a given kind.Get the header of the page.getMemberDetails
(Content memberContent) Gibt the member details zurück.getMemberSummary
(Content memberContent) Gibt the member summary zurück.Returns a list to be used for the list of summaries for members of a given kind.getSummariesListItem
(Content content) Returns an item for the list of summaries for members of a given kind.Return the TypeElement being documented.void
printDocument
(Content content) Print the document.
-
Methodendetails
-
getHeader
Get the header of the page.- Parameter:
header
- the header string to write- Gibt zurück:
- header content that needs to be added to the documentation
-
getClassContentHeader
Get the class content header.- Gibt zurück:
- class content header that needs to be added to the documentation
-
addClassTree
Add the class inheritance tree documentation.- Parameter:
target
- the content to which the documentation will be added
-
addParamInfo
Add the type parameter and state component information.- Parameter:
target
- the content to which the documentation will be added
-
addSuperInterfacesInfo
Add all superinterfaces if this is an interface.- Parameter:
target
- the content to which the documentation will be added
-
addImplementedInterfacesInfo
Add all implemented interfaces if this is a class.- Parameter:
target
- the content to which the documentation will be added
-
addSubClassInfo
Add all the classes that extend this one.- Parameter:
target
- the content to which the documentation will be added
-
addSubInterfacesInfo
Add all the interfaces that extend this one.- Parameter:
target
- the content to which the documentation will be added
-
addInterfaceUsageInfo
If this is an interface, add all classes that implement this interface.- Parameter:
target
- the content to which the documentation will be added
-
addFunctionalInterfaceInfo
If this is an functional interface, display appropriate message.- Parameter:
target
- the content to which the documentation will be added
-
addNestedClassInfo
If this is an inner class or interface, add the enclosing class or interface.- Parameter:
target
- the content to which the documentation will be added
-
getClassInfo
Gibt the class information zurück.- Parameter:
classInfo
- the class information- Gibt zurück:
- the class information
-
addClassDeprecationInfo
If this class is deprecated, add the appropriate information.- Parameter:
classInfo
- the content to which the documentation will be added
-
addClassSignature
Add the signature of the current class content.- Parameter:
classInfo
- the class content to which the signature will be added
-
addClassDescription
Build the class description.- Parameter:
classInfo
- the content to which the documentation will be added
-
addClassTagInfo
Add the tag information for the current class.- Parameter:
classInfo
- the content to which the tag information will be added
-
getSummariesList
Returns a list to be used for the list of summaries for members of a given kind.- Gibt zurück:
- a list to be used for the list of summaries for members of a given kind
-
getSummariesListItem
Returns an item for the list of summaries for members of a given kind.- Parameter:
content
- content for the item- Gibt zurück:
- an item for the list of summaries for members of a given kind
-
getDetailsList
Returns a list to be used for the list of details for members of a given kind.- Gibt zurück:
- a list to be used for the list of details for members of a given kind
-
getDetailsListItem
Returns an item for the list of details for members of a given kind.- Parameter:
content
- content for the item- Gibt zurück:
- an item for the list of details for members of a given kind
-
addClassContent
Add the class content.- Parameter:
classContent
- the class content which will be added to the content
-
printDocument
Print the document.- Parameter:
content
- the content that will be printed as a document- Löst aus:
DocFileIOException
- if there is a problem while writing the document
-
getTypeElement
Return the TypeElement being documented.- Gibt zurück:
- the TypeElement being documented.
-
getMemberSummary
Gibt the member summary zurück.- Parameter:
memberContent
- the content used to build the summary- Gibt zurück:
- the member summary
-
getMemberDetails
Gibt the member details zurück.- Parameter:
memberContent
- the content used to generate the member details- Gibt zurück:
- the member details
-