|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.doclets.formats.html.WriterFactoryImpl
public class WriterFactoryImpl
The factory that returns HTML writers.
| Field Summary | |
|---|---|
private ConfigurationImpl |
configuration
|
| Constructor Summary | |
|---|---|
WriterFactoryImpl(ConfigurationImpl configuration)
|
|
| Method Summary | |
|---|---|
AnnotationTypeOptionalMemberWriter |
getAnnotationTypeOptionalMemberWriter(AnnotationTypeWriter annotationTypeWriter)
Return the annotation type optional member writer for a given annotation type. |
AnnotationTypeRequiredMemberWriter |
getAnnotationTypeRequiredMemberWriter(AnnotationTypeWriter annotationTypeWriter)
Return the annotation type required member writer for a given annotation type. |
AnnotationTypeWriter |
getAnnotationTypeWriter(AnnotationTypeDoc annotationType,
Type prevType,
Type nextType)
Return the writer for an annotation type. |
ClassWriter |
getClassWriter(ClassDoc classDoc,
ClassDoc prevClass,
ClassDoc nextClass,
ClassTree classTree)
Return the writer for a class. |
ConstantsSummaryWriter |
getConstantsSummaryWriter()
Return the writer for the constant summary. |
ConstructorWriter |
getConstructorWriter(ClassWriter classWriter)
Return the constructor writer for a given class. |
EnumConstantWriter |
getEnumConstantWriter(ClassWriter classWriter)
Return the enum constant writer for a given class. |
FieldWriter |
getFieldWriter(ClassWriter classWriter)
Return the field writer for a given class. |
MemberSummaryWriter |
getMemberSummaryWriter(AnnotationTypeWriter annotationTypeWriter,
int memberType)
Return the specified member summary writer for a given annotation type. |
MemberSummaryWriter |
getMemberSummaryWriter(ClassWriter classWriter,
int memberType)
Return the specified member summary writer for a given class. |
MethodWriter |
getMethodWriter(ClassWriter classWriter)
Return the method writer for a given class. |
PackageSummaryWriter |
getPackageSummaryWriter(PackageDoc packageDoc,
PackageDoc prevPkg,
PackageDoc nextPkg)
Return the writer for the package summary. |
SerializedFormWriter |
getSerializedFormWriter()
Return the writer for the serialized form. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ConfigurationImpl configuration
| Constructor Detail |
|---|
public WriterFactoryImpl(ConfigurationImpl configuration)
| Method Detail |
|---|
public ConstantsSummaryWriter getConstantsSummaryWriter()
throws java.lang.Exception
getConstantsSummaryWriter in interface WriterFactoryjava.lang.Exception
public PackageSummaryWriter getPackageSummaryWriter(PackageDoc packageDoc,
PackageDoc prevPkg,
PackageDoc nextPkg)
throws java.lang.Exception
getPackageSummaryWriter in interface WriterFactorypackageDoc - the package being documented.prevPkg - the previous package that was documented.nextPkg - the next package being documented.
java.lang.Exception
public ClassWriter getClassWriter(ClassDoc classDoc,
ClassDoc prevClass,
ClassDoc nextClass,
ClassTree classTree)
throws java.lang.Exception
getClassWriter in interface WriterFactoryclassDoc - the class being documented.prevClass - the previous class that was documented.nextClass - the next class being documented.classTree - the class tree.
java.lang.Exception
public AnnotationTypeWriter getAnnotationTypeWriter(AnnotationTypeDoc annotationType,
Type prevType,
Type nextType)
throws java.lang.Exception
getAnnotationTypeWriter in interface WriterFactoryannotationType - the type being documented.prevType - the previous type that was documented.nextType - the next type being documented.
java.lang.Exception
public AnnotationTypeOptionalMemberWriter getAnnotationTypeOptionalMemberWriter(AnnotationTypeWriter annotationTypeWriter)
throws java.lang.Exception
getAnnotationTypeOptionalMemberWriter in interface WriterFactoryannotationTypeWriter - the writer for the annotation type
being documented.
java.lang.Exception
public AnnotationTypeRequiredMemberWriter getAnnotationTypeRequiredMemberWriter(AnnotationTypeWriter annotationTypeWriter)
throws java.lang.Exception
getAnnotationTypeRequiredMemberWriter in interface WriterFactoryannotationTypeWriter - the writer for the annotation type
being documented.
java.lang.Exception
public EnumConstantWriter getEnumConstantWriter(ClassWriter classWriter)
throws java.lang.Exception
getEnumConstantWriter in interface WriterFactoryclassWriter - the writer for the class being documented.
java.lang.Exception
public FieldWriter getFieldWriter(ClassWriter classWriter)
throws java.lang.Exception
getFieldWriter in interface WriterFactoryclassWriter - the writer for the class being documented.
java.lang.Exception
public MethodWriter getMethodWriter(ClassWriter classWriter)
throws java.lang.Exception
getMethodWriter in interface WriterFactoryclassWriter - the writer for the class being documented.
java.lang.Exception
public ConstructorWriter getConstructorWriter(ClassWriter classWriter)
throws java.lang.Exception
getConstructorWriter in interface WriterFactoryclassWriter - the writer for the class being documented.
java.lang.Exception
public MemberSummaryWriter getMemberSummaryWriter(ClassWriter classWriter,
int memberType)
throws java.lang.Exception
getMemberSummaryWriter in interface WriterFactoryclassWriter - the writer for the class being documented.memberType - the VisibleMemberMap member type indicating
the type of member summary that should be returned.
java.lang.IllegalArgumentException - if memberType is unknown.
java.lang.ExceptionVisibleMemberMap
public MemberSummaryWriter getMemberSummaryWriter(AnnotationTypeWriter annotationTypeWriter,
int memberType)
throws java.lang.Exception
getMemberSummaryWriter in interface WriterFactoryannotationTypeWriter - the writer for the annotation type being
documented.memberType - the VisibleMemberMap member type indicating
the type of member summary that should be returned.
java.lang.IllegalArgumentException - if memberType is unknown.
java.lang.ExceptionVisibleMemberMap
public SerializedFormWriter getSerializedFormWriter()
throws java.lang.Exception
getSerializedFormWriter in interface WriterFactoryjava.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||