Class WriterFactoryImpl
java.lang.Object
gw.gosudoc.com.sun.tools.doclets.formats.html.WriterFactoryImpl
- All Implemented Interfaces:
WriterFactory
Deprecated.
The factory that returns HTML writers.
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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAnnotationTypeFieldWriter
(AnnotationTypeWriter annotationTypeWriter) Deprecated.Return the annotation type field writer for a given annotation type.getAnnotationTypeOptionalMemberWriter
(AnnotationTypeWriter annotationTypeWriter) Deprecated.Return the annotation type optional member writer for a given annotation type.getAnnotationTypeRequiredMemberWriter
(AnnotationTypeWriter annotationTypeWriter) Deprecated.Return the annotation type required member writer for a given annotation type.getAnnotationTypeWriter
(AnnotationTypeDoc annotationType, Type prevType, Type nextType) Deprecated.Return the writer for an annotation type.getClassWriter
(ClassDoc classDoc, ClassDoc prevClass, ClassDoc nextClass, ClassTree classTree) Deprecated.Return the writer for a class.Deprecated.Return the writer for the constant summary.getConstructorWriter
(ClassWriter classWriter) Deprecated.Return the constructor writer for a given class.getEnumConstantWriter
(ClassWriter classWriter) Deprecated.Return the enum constant writer for a given class.getFieldWriter
(ClassWriter classWriter) Deprecated.Return the field writer for a given class.getMemberSummaryWriter
(AnnotationTypeWriter annotationTypeWriter, int memberType) Deprecated.Return the specified member summary writer for a given annotation type.getMemberSummaryWriter
(ClassWriter classWriter, int memberType) Deprecated.Return the specified member summary writer for a given class.getMethodWriter
(ClassWriter classWriter) Deprecated.Return the method writer for a given class.getPackageSummaryWriter
(PackageDoc packageDoc, PackageDoc prevPkg, PackageDoc nextPkg) Deprecated.Return the writer for the package summary.getPropertyWriter
(ClassWriter classWriter) Deprecated.Return the property writer for a given class.Deprecated.Return the writer for the serialized form.
-
Field Details
-
configuration
Deprecated.
-
-
Constructor Details
-
WriterFactoryImpl
Deprecated.
-
-
Method Details
-
getConstantsSummaryWriter
Deprecated.Return the writer for the constant summary.- Specified by:
getConstantsSummaryWriter
in interfaceWriterFactory
- Returns:
- the writer for the constant summary. Return null if this writer is not supported by the doclet.
- Throws:
Exception
-
getPackageSummaryWriter
public PackageSummaryWriter getPackageSummaryWriter(PackageDoc packageDoc, PackageDoc prevPkg, PackageDoc nextPkg) throws Exception Deprecated.Return the writer for the package summary.- Specified by:
getPackageSummaryWriter
in interfaceWriterFactory
- Parameters:
packageDoc
- the package being documented.prevPkg
- the previous package that was documented.nextPkg
- the next package being documented.- Returns:
- the writer for the package summary. Return null if this writer is not supported by the doclet.
- Throws:
Exception
-
getClassWriter
public ClassWriter getClassWriter(ClassDoc classDoc, ClassDoc prevClass, ClassDoc nextClass, ClassTree classTree) throws IOException Deprecated.Return the writer for a class.- Specified by:
getClassWriter
in interfaceWriterFactory
- Parameters:
classDoc
- the class being documented.prevClass
- the previous class that was documented.nextClass
- the next class being documented.classTree
- the class tree.- Returns:
- the writer for the class. Return null if this writer is not supported by the doclet.
- Throws:
IOException
-
getAnnotationTypeWriter
public AnnotationTypeWriter getAnnotationTypeWriter(AnnotationTypeDoc annotationType, Type prevType, Type nextType) throws Exception Deprecated.Return the writer for an annotation type.- Specified by:
getAnnotationTypeWriter
in interfaceWriterFactory
- Parameters:
annotationType
- the type being documented.prevType
- the previous type that was documented.nextType
- the next type being documented.- Returns:
- the writer for the annotation type. Return null if this writer is not supported by the doclet.
- Throws:
Exception
-
getAnnotationTypeFieldWriter
public AnnotationTypeFieldWriter getAnnotationTypeFieldWriter(AnnotationTypeWriter annotationTypeWriter) throws Exception Deprecated.Return the annotation type field writer for a given annotation type.- Specified by:
getAnnotationTypeFieldWriter
in interfaceWriterFactory
- Parameters:
annotationTypeWriter
- the writer for the annotation type being documented.- Returns:
- the member writer for the given annotation type. Return null if this writer is not supported by the doclet.
- Throws:
Exception
-
getAnnotationTypeOptionalMemberWriter
public AnnotationTypeOptionalMemberWriter getAnnotationTypeOptionalMemberWriter(AnnotationTypeWriter annotationTypeWriter) throws Exception Deprecated.Return the annotation type optional member writer for a given annotation type.- Specified by:
getAnnotationTypeOptionalMemberWriter
in interfaceWriterFactory
- Parameters:
annotationTypeWriter
- the writer for the annotation type being documented.- Returns:
- the member writer for the given annotation type. Return null if this writer is not supported by the doclet.
- Throws:
Exception
-
getAnnotationTypeRequiredMemberWriter
public AnnotationTypeRequiredMemberWriter getAnnotationTypeRequiredMemberWriter(AnnotationTypeWriter annotationTypeWriter) throws Exception Deprecated.Return the annotation type required member writer for a given annotation type.- Specified by:
getAnnotationTypeRequiredMemberWriter
in interfaceWriterFactory
- Parameters:
annotationTypeWriter
- the writer for the annotation type being documented.- Returns:
- the member writer for the given annotation type. Return null if this writer is not supported by the doclet.
- Throws:
Exception
-
getEnumConstantWriter
Deprecated.Return the enum constant writer for a given class.- Specified by:
getEnumConstantWriter
in interfaceWriterFactory
- Parameters:
classWriter
- the writer for the class being documented.- Returns:
- the enum constant writer for the give class. Return null if this writer is not supported by the doclet.
- Throws:
Exception
-
getFieldWriter
Deprecated.Return the field writer for a given class.- Specified by:
getFieldWriter
in interfaceWriterFactory
- Parameters:
classWriter
- the writer for the class being documented.- Returns:
- the field writer for the give class. Return null if this writer is not supported by the doclet.
- Throws:
Exception
-
getPropertyWriter
Deprecated.Return the property writer for a given class.- Specified by:
getPropertyWriter
in interfaceWriterFactory
- Parameters:
classWriter
- the writer for the class being documented.- Returns:
- the property writer for the give class. Return null if this writer is not supported by the doclet.
- Throws:
Exception
-
getMethodWriter
Deprecated.Return the method writer for a given class.- Specified by:
getMethodWriter
in interfaceWriterFactory
- Parameters:
classWriter
- the writer for the class being documented.- Returns:
- the method writer for the give class. Return null if this writer is not supported by the doclet.
- Throws:
Exception
-
getConstructorWriter
Deprecated.Return the constructor writer for a given class.- Specified by:
getConstructorWriter
in interfaceWriterFactory
- Parameters:
classWriter
- the writer for the class being documented.- Returns:
- the method writer for the give class. Return null if this writer is not supported by the doclet.
- Throws:
Exception
-
getMemberSummaryWriter
public MemberSummaryWriter getMemberSummaryWriter(ClassWriter classWriter, int memberType) throws Exception Deprecated.Return the specified member summary writer for a given class.- Specified by:
getMemberSummaryWriter
in interfaceWriterFactory
- Parameters:
classWriter
- the writer for the class being documented.memberType
- theVisibleMemberMap
member type indicating the type of member summary that should be returned.- Returns:
- the summary writer for the give class. Return null if this writer is not supported by the doclet.
- Throws:
IllegalArgumentException
- if memberType is unknown.Exception
- See Also:
-
getMemberSummaryWriter
public MemberSummaryWriter getMemberSummaryWriter(AnnotationTypeWriter annotationTypeWriter, int memberType) throws Exception Deprecated.Return the specified member summary writer for a given annotation type.- Specified by:
getMemberSummaryWriter
in interfaceWriterFactory
- Parameters:
annotationTypeWriter
- the writer for the annotation type being documented.memberType
- theVisibleMemberMap
member type indicating the type of member summary that should be returned.- Returns:
- the summary writer for the give class. Return null if this writer is not supported by the doclet.
- Throws:
IllegalArgumentException
- if memberType is unknown.Exception
- See Also:
-
getSerializedFormWriter
Deprecated.Return the writer for the serialized form.- Specified by:
getSerializedFormWriter
in interfaceWriterFactory
- Returns:
- the writer for the serialized form.
- Throws:
Exception
-