javax.lang.model.element.TypeElement
| Modifier and Type | Field and Description |
|---|---|
| protected final ClassTree | |
| protected static final int | |
| protected final PropertyUtils. | |
| private static final Set | |
| private static final Set | |
| protected final TypeElement |
| Access | Constructor and Description |
|---|---|
| public | ClassWriter(HtmlConfiguration
the configuration data for the doclet configuration, TypeElement the class being documented. typeElement, ClassTree the class tree for the given class. classTree)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| private void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | buildClassDescription(Content
the content to which the documentation will be added target)Build the class description. |
| protected void | |
| protected void | buildClassInfo(Content
the content to which the documentation will be added target)Build the class information documentation. |
| protected void | buildClassSignature(Content
the content to which the documentation will be added target)Build the signature of the current class. |
| protected void | buildClassTagInfo(Content
the content to which the documentation will be added target)Build the tag information for the current class. |
| protected void | buildClassTree(Content
the content to which the documentation will be added classContent)Build the class inheritance tree documentation. |
| protected void | buildDeprecationInfo(Content
the content to which the documentation will be added target)If this class is deprecated, build the appropriate information. |
| protected void | buildFunctionalInterfaceInfo(Content
the content to which the documentation will be added target)If this is a functional interface, display appropriate message. |
| protected void | buildImplementedInterfacesInfo(Content
the content to which the documentation will be added target)If this is a class, list all interfaces implemented by this class. |
| protected void | buildInterfaceUsageInfo(Content
the content to which the documentation will be added target)If this is an interface, list all classes that implement this interface. |
| protected void | buildMemberDetails(Content
the content to which the documentation will be added classContent)Build the member details contents of the page. |
| protected void | buildMemberSummary(Content
the content to which the documentation will be added classContent)Build the member summary contents of the page. |
| protected void | buildNestedClassInfo(Content
the content to which the documentation will be added target)If this is an inner class or interface, list the enclosing class or interface. |
| public void | buildPage()
Implements abstract jdk. The top-level method to generate and write the page represented by this writer. |
| protected void | buildParamInfo(Content
the content to which the documentation will be added target)Build the type parameters and state components of this class. |
| protected void | buildSubClassInfo(Content
the content to which the documentation will be added target)List all the classes that extend this one. |
| protected void | buildSubInterfacesInfo(Content
the content to which the documentation will be added target)List all the interfaces that extend this one. |
| protected void | buildSuperInterfacesInfo(Content
the content to which the documentation will be added target)If this is an interface, list all superinterfaces. |
| private void | |
| protected Content | |
| private Content | Returns: the class helperthe class to get the helper for type)Get the class helper for the given class. |
| protected Content | |
| private Content | Returns: the class inheritance treethe class to get the inheritance tree for type)Get the class inheritance tree for the given class. |
| private Content | Returns: the linksthe id of the context where the links will be added context,the classes list)Get the links to the given classes. |
| public TypeElement | getCurrentTypeElement()
Overrides jdk. Returns the type element documented by this writer if it is a |
| protected Content | |
| protected Content | |
| public PropertyUtils. | |
| public TypeElement | |
| private Content | |
| public boolean | isIndexable()
Overrides jdk. Returns true if the page written by this writer should be indexed, false otherwise. |
| protected void | |
| private void | setEnumDocumentation(TypeElement
the enum element elem)The documentation for values() and valueOf() in Enums are set by the doclet only iff the user or overridden methods are missing. |
| private void | setRecordDocumentation(TypeElement
the record element elem)Sets the documentation as needed for the mandated parts of a record type. |
| classTree | back to summary |
|---|---|
| protected final ClassTree classTree | |
| LONG_TYPE_PARAM | back to summary |
|---|---|
| protected static final int LONG_TYPE_PARAM | |
| pHelper | back to summary |
|---|---|
| protected final PropertyUtils. | |
| suppressImplementingSet | back to summary |
|---|---|
| private static final Set<String> suppressImplementingSet | |
| suppressSubtypesSet | back to summary |
|---|---|
| private static final Set<String> suppressSubtypesSet | |
| typeElement | back to summary |
|---|---|
| protected final TypeElement typeElement | |
| ClassWriter | back to summary |
|---|---|
public ClassWriter(HtmlConfiguration configuration, TypeElement typeElement, ClassTree classTree)
| |
| addClassDeprecationInfo | back to summary |
|---|---|
| protected void addClassDeprecationInfo(Content classInfo) | |
| addClassDescription | back to summary |
|---|---|
| protected void addClassDescription(Content classInfo) | |
| addClassSignature | back to summary |
|---|---|
| protected void addClassSignature(Content classInfo) | |
| addClassTagInfo | back to summary |
|---|---|
| protected void addClassTagInfo(Content classInfo) | |
| addClassTree | back to summary |
|---|---|
| protected void addClassTree(Content target) | |
| addFooter | back to summary |
|---|---|
| protected void addFooter() | |
| addFunctionalInterfaceInfo | back to summary |
|---|---|
| protected void addFunctionalInterfaceInfo(Content target) | |
| addImplementedInterfacesInfo | back to summary |
|---|---|
| protected void addImplementedInterfacesInfo(Content target) | |
| addInterfaceUsageInfo | back to summary |
|---|---|
| protected void addInterfaceUsageInfo(Content target) | |
| addNestedClassInfo | back to summary |
|---|---|
| protected void addNestedClassInfo(final Content target) | |
| addParamInfo | back to summary |
|---|---|
| protected void addParamInfo(Content target) | |
| addPreviewInfo | back to summary |
|---|---|
| private void addPreviewInfo(Content content) | |
| addSubClassInfo | back to summary |
|---|---|
| protected void addSubClassInfo(Content target) | |
| addSubInterfacesInfo | back to summary |
|---|---|
| protected void addSubInterfacesInfo(Content target) | |
| addSuperInterfacesInfo | back to summary |
|---|---|
| protected void addSuperInterfacesInfo(Content target) | |
| buildClassDescription | back to summary |
|---|---|
| protected void buildClassDescription(Content target) Build the class description.
| |
| buildClassDoc | back to summary |
|---|---|
| protected void buildClassDoc() throws DocletException Handles the <TypeElement> tag.
| |
| buildClassInfo | back to summary |
|---|---|
| protected void buildClassInfo(Content target) Build the class information documentation.
| |
| buildClassSignature | back to summary |
|---|---|
| protected void buildClassSignature(Content target) Build the signature of the current class.
| |
| buildClassTagInfo | back to summary |
|---|---|
| protected void buildClassTagInfo(Content target) Build the tag information for the current class.
| |
| buildClassTree | back to summary |
|---|---|
| protected void buildClassTree(Content classContent) Build the class inheritance tree documentation.
| |
| buildDeprecationInfo | back to summary |
|---|---|
| protected void buildDeprecationInfo(Content target) If this class is deprecated, build the appropriate information.
| |
| buildFunctionalInterfaceInfo | back to summary |
|---|---|
| protected void buildFunctionalInterfaceInfo(Content target) If this is a functional interface, display appropriate message.
| |
| buildImplementedInterfacesInfo | back to summary |
|---|---|
| protected void buildImplementedInterfacesInfo(Content target) If this is a class, list all interfaces implemented by this class.
| |
| buildInterfaceUsageInfo | back to summary |
|---|---|
| protected void buildInterfaceUsageInfo(Content target) If this is an interface, list all classes that implement this interface.
| |
| buildMemberDetails | back to summary |
|---|---|
| protected void buildMemberDetails(Content classContent) Build the member details contents of the page.
| |
| buildMemberSummary | back to summary |
|---|---|
| protected void buildMemberSummary(Content classContent) Build the member summary contents of the page.
| |
| buildNestedClassInfo | back to summary |
|---|---|
| protected void buildNestedClassInfo(Content target) If this is an inner class or interface, list the enclosing class or interface.
| |
| buildPage | back to summary |
|---|---|
| public void buildPage() throws DocletException Implements abstract jdk. Doc from jdk. The top-level method to generate and write the page represented by this writer.
| |
| buildParamInfo | back to summary |
|---|---|
| protected void buildParamInfo(Content target) Build the type parameters and state components of this class.
| |
| buildSubClassInfo | back to summary |
|---|---|
| protected void buildSubClassInfo(Content target) List all the classes that extend this one.
| |
| buildSubInterfacesInfo | back to summary |
|---|---|
| protected void buildSubInterfacesInfo(Content target) List all the interfaces that extend this one.
| |
| buildSuperInterfacesInfo | back to summary |
|---|---|
| protected void buildSuperInterfacesInfo(Content target) If this is an interface, list all superinterfaces.
| |
| copyDocFiles | back to summary |
|---|---|
| private void copyDocFiles() throws DocletException Copy the doc files.
| |
| getClassContentHeader | back to summary |
|---|---|
| protected Content getClassContentHeader() | |
| getClassHelperContent | back to summary |
|---|---|
| private Content getClassHelperContent(TypeMirror type) Get the class helper for the given class.
| |
| getClassInfo | back to summary |
|---|---|
| protected Content getClassInfo(Content classInfo) | |
| getClassInheritanceTreeContent | back to summary |
|---|---|
| private Content getClassInheritanceTreeContent(TypeMirror type) Get the class inheritance tree for the given class.
| |
| getClassLinks | back to summary |
|---|---|
| private Content getClassLinks(HtmlLinkInfo. Get the links to the given classes.
| |
| getCurrentTypeElement | back to summary |
|---|---|
| public TypeElement getCurrentTypeElement() Overrides jdk. Doc from jdk. Returns the type element documented by this writer if it is a
| |
| getHeader | back to summary |
|---|---|
| protected Content getHeader(String header) | |
| getMemberDetails | back to summary |
|---|---|
| protected Content getMemberDetails(Content content) | |
| getPropertyHelper | back to summary |
|---|---|
| public PropertyUtils. Overrides jdk.
| |
| getTypeElement | back to summary |
|---|---|
| public TypeElement getTypeElement() Return the TypeElement being documented.
| |
| getTypeParameters | back to summary |
|---|---|
| private Content getTypeParameters() | |
| isIndexable | back to summary |
|---|---|
| public boolean isIndexable() Overrides jdk. Doc from jdk. Returns true if the page written by this writer should be indexed, false otherwise. Some pages merely aggregate filtered information available on other pages and, thus, have no indexing value. In fact, if indexed, they would clutter the index and mislead the reader.
| |
| printDocument | back to summary |
|---|---|
| protected void printDocument(Content content) throws DocFileIOException | |
| setEnumDocumentation | back to summary |
|---|---|
| private void setEnumDocumentation(TypeElement elem) The documentation for values() and valueOf() in Enums are set by the doclet only iff the user or overridden methods are missing.
| |
| setRecordDocumentation | back to summary |
|---|---|
| private void setRecordDocumentation(TypeElement elem) Sets the documentation as needed for the mandated parts of a record type.
This includes the canonical constructor, methods like
| |