|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder
com.sun.tools.doclets.internal.toolkit.builders.AbstractMemberBuilder
com.sun.tools.doclets.internal.toolkit.builders.FieldBuilder
public class FieldBuilder
Builds documentation for a field. This code is not part of an API. It is implementation that is subject to change. Do not use it as an API
| Field Summary | |
|---|---|
private ClassDoc |
classDoc
The class whose fields are being documented. |
private int |
currentFieldIndex
The index of the current field that is being documented at this point in time. |
private java.util.List<ProgramElementDoc> |
fields
The list of fields being documented. |
private VisibleMemberMap |
visibleMemberMap
The visible fields for the given class. |
private FieldWriter |
writer
The writer to output the field documentation. |
| Fields inherited from class com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder |
|---|
configuration, containingPackagesSeen, DEBUG |
| Constructor Summary | |
|---|---|
private |
FieldBuilder(Configuration configuration)
Construct a new FieldBuilder. |
| Method Summary | |
|---|---|
void |
buildDeprecationInfo()
Build the deprecation information. |
void |
buildFieldComments()
Build the comments for the field. |
void |
buildFieldDoc(java.util.List<?> elements)
Build the field documentation. |
void |
buildFieldFooter()
Build the footer for the individual field. |
void |
buildFieldHeader()
Build the header for the individual field. |
void |
buildFooter()
Build the overall footer. |
void |
buildHeader()
Build the overall header. |
void |
buildSignature()
Build the signature. |
void |
buildTagInfo()
Build the tag information. |
static FieldBuilder |
getInstance(Configuration configuration,
ClassDoc classDoc,
FieldWriter writer)
Construct a new FieldBuilder. |
java.lang.String |
getName()
Return the name of this builder. |
VisibleMemberMap |
getVisibleMemberMap()
Returns the visible member map for the fields of this class. |
FieldWriter |
getWriter()
Return the field writer for this builder. |
boolean |
hasMembersToDocument()
summaryOrder.size() |
void |
invokeMethod(java.lang.String methodName,
java.lang.Class<?>[] paramClasses,
java.lang.Object[] params)
Given the name and parameters, invoke the method in the builder. |
java.util.List<ProgramElementDoc> |
members(ClassDoc classDoc)
Returns a list of fields that will be documented for the given class. |
| Methods inherited from class com.sun.tools.doclets.internal.toolkit.builders.AbstractMemberBuilder |
|---|
build, build |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ClassDoc classDoc
private VisibleMemberMap visibleMemberMap
private FieldWriter writer
private java.util.List<ProgramElementDoc> fields
private int currentFieldIndex
| Constructor Detail |
|---|
private FieldBuilder(Configuration configuration)
configuration - the current configuration of the
doclet.| Method Detail |
|---|
public static FieldBuilder getInstance(Configuration configuration,
ClassDoc classDoc,
FieldWriter writer)
configuration - the current configuration of the doclet.classDoc - the class whoses members are being documented.writer - the doclet specific writer.public java.lang.String getName()
getName in class AbstractBuilder
public void invokeMethod(java.lang.String methodName,
java.lang.Class<?>[] paramClasses,
java.lang.Object[] params)
throws java.lang.Exception
invokeMethod in class AbstractBuildermethodName - the name of the method that we would like to invoke.paramClasses - the types for each parameter.params - the parameters of the method.
java.lang.Exceptionpublic java.util.List<ProgramElementDoc> members(ClassDoc classDoc)
classDoc - the ClassDoc we want to check.
public VisibleMemberMap getVisibleMemberMap()
public boolean hasMembersToDocument()
hasMembersToDocument in class AbstractMemberBuilderpublic void buildFieldDoc(java.util.List<?> elements)
elements - the XML elements that specify how to construct this
documentation.public void buildHeader()
public void buildFieldHeader()
public void buildSignature()
public void buildDeprecationInfo()
public void buildFieldComments()
Configuration.nocomment is set to true.
public void buildTagInfo()
public void buildFieldFooter()
public void buildFooter()
public FieldWriter getWriter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||