Schnittstelle WriterFactory
- Alle bekannten Implementierungsklassen:
WriterFactoryImpl
public interface WriterFactory
The interface for a factory creates writers.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetAnnotationTypeMemberWriter
(ClassWriter classWriter) Return the annotation type member writer for a given annotation type, or null if this writer is not supported by the doclet.getAnnotationTypeOptionalMemberWriter
(ClassWriter classWriter) Return the annotation type optional member writer for a given annotation type, or null if this writer is not supported by the doclet.getAnnotationTypeRequiredMemberWriter
(ClassWriter classWriter) Return the annotation type required member writer for a given annotation type, or null if this writer is not supported by the doclet.getClassWriter
(TypeElement typeElement, ClassTree classTree) Returns the writer for a given type element, or null if this writer is not supported by the doclet.Return the writer for the constant summary.getConstructorWriter
(ClassWriter classWriter) Return the constructor writer for a given type element, or null if this writer is not supported by the doclet.Return the handler for doc files.getEnumConstantWriter
(ClassWriter classWriter) Return the enum constant writer for a given type element, or null if this writer is not supported by the doclet.getFieldWriter
(ClassWriter classWriter) Return the field writer for a given type element, or null if this writer is not supported by the doclet.getMemberSummaryWriter
(ClassWriter classWriter, VisibleMemberTable.Kind memberType) Return the specified member summary writer for a given type element, or null if this writer is not supported by the doclet.getMethodWriter
(ClassWriter classWriter) Return the method writer for a given type element, or null if this writer is not supported by the doclet.Return the writer for the module summary.getPackageSummaryWriter
(PackageElement packageElement) Return the writer for the package summary.getPropertyWriter
(ClassWriter classWriter) Return the property writer for a given class, or null if this writer is not supported by the doclet.Return the writer for the serialized form.
-
Methodendetails
-
getConstantsSummaryWriter
Return the writer for the constant summary.- Gibt zurück:
- the writer for the constant summary. Return null if this writer is not supported by the doclet.
-
getPackageSummaryWriter
Return the writer for the package summary.- Parameter:
packageElement
- the package being documented- Gibt zurück:
- the writer for the package summary. Return null if this writer is not supported by the doclet.
-
getModuleSummaryWriter
Return the writer for the module summary.- Parameter:
mdle
- the module being documented- Gibt zurück:
- the writer for the module summary. Return null if this writer is not supported by the doclet.
-
getClassWriter
Returns the writer for a given type element, or null if this writer is not supported by the doclet.- Parameter:
typeElement
- the class being documentedclassTree
- the class tree- Gibt zurück:
- the writer
-
getMethodWriter
Return the method writer for a given type element, or null if this writer is not supported by the doclet.- Parameter:
classWriter
- the writer for the class being documented- Gibt zurück:
- the method writer
-
getAnnotationTypeMemberWriter
Return the annotation type member writer for a given annotation type, or null if this writer is not supported by the doclet.- Parameter:
classWriter
- the writer for the annotation type being documented- Gibt zurück:
- the member writer
-
getAnnotationTypeOptionalMemberWriter
Return the annotation type optional member writer for a given annotation type, or null if this writer is not supported by the doclet.- Parameter:
classWriter
- the writer for the annotation type being documented- Gibt zurück:
- the member writer
-
getAnnotationTypeRequiredMemberWriter
Return the annotation type required member writer for a given annotation type, or null if this writer is not supported by the doclet.- Parameter:
classWriter
- the writer for the annotation type being documented- Gibt zurück:
- the member writer
-
getEnumConstantWriter
Return the enum constant writer for a given type element, or null if this writer is not supported by the doclet.- Parameter:
classWriter
- the writer for the type element being documented- Gibt zurück:
- the enum constant writer
-
getFieldWriter
Return the field writer for a given type element, or null if this writer is not supported by the doclet.- Parameter:
classWriter
- the writer for the class being documented- Gibt zurück:
- the field writer for the given class. Return null if this writer is not supported by the doclet.
-
getPropertyWriter
Return the property writer for a given class, or null if this writer is not supported by the doclet.- Parameter:
classWriter
- the writer for the type element being documented- Gibt zurück:
- the property writer
-
getConstructorWriter
Return the constructor writer for a given type element, or null if this writer is not supported by the doclet.- Parameter:
classWriter
- the writer for the type element being documented- Gibt zurück:
- the constructor writer
-
getMemberSummaryWriter
MemberSummaryWriter getMemberSummaryWriter(ClassWriter classWriter, VisibleMemberTable.Kind memberType) Return the specified member summary writer for a given type element, or null if this writer is not supported by the doclet.- Parameter:
classWriter
- the writer for the class being documentedmemberType
- theVisibleMemberTable
member type indicating the type of member summary that should be returned- Gibt zurück:
- the summary writer
- Siehe auch:
-
getSerializedFormWriter
Return the writer for the serialized form.- Gibt zurück:
- the writer for the serialized form
-
getDocFilesHandler
Return the handler for doc files.- Gibt zurück:
- the handler for the doc files
-