Taglets used by the standard doclet.
| Modifier and Type | Field and Description |
|---|---|
| private final LinkedHashMap | allTaglets
All taglets, keyed either by their |
| private Map | blockTagletsByLocation
Block (non-inline) taglets, grouped by |
| private final HtmlConfiguration | |
| private final DocletEnvironment | |
| private final Doclet | |
| private Map | inlineTags
The taglets that can appear inline in descriptive text. |
| private final boolean | javafx
True if we want to use JavaFX-related tags ( |
| private final Messages | |
| private final boolean | nosince
True if we do not want to use |
| private final Set | overriddenStandardTags
Keep track of overridden standard tags. |
| private final Set | potentiallyConflictingTags
Keep track of the tags that may conflict with standard tags in the future (any custom tag without a period in its name). |
| private final Resources | |
| private List | serializedFormTags
The taglets that can appear in the serialized form. |
| private final boolean | showauthor
True if we want to use |
| private final boolean | showTaglets
Show the taglets table when it has been initialized. |
| private final boolean | showversion
True if we want to use |
| private final Set | standardTags
Keep track of standard tags. |
| private final String | |
| private final Set | unseenCustomTags
The set of unseen custom tags. |
| private final Utils |
| Access | Constructor and Description |
|---|---|
| public | TagletManager(HtmlConfiguration
the configuration for this taglet manager config)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | addCustomTag(String
the name of the class representing the custom tag classname, JavaFileManager the file manager to load classes and resources fileManager)Adds a new |
| public void | addNewSimpleCustomTag(String
the name of this tag tagName, String the header to output header, String the possible locations that this tag can appear in locations)Adds a new |
| private void | |
| private void | |
| private void | |
| public void | |
| private String | |
| public Set | |
| public List | Returns: the array ofTaglets that can
appear in the given elementthe element to get custom tags for e)Returns the custom tags for a given element. |
| pack-priv Map | Returns: the taglets that can appear inlineReturns the taglets that can appear inline, in descriptive text. |
| public List | Returns: the taglet that can appear in the serialized formReturns the taglets that can appear in the serialized form. |
| pack-priv Taglet | |
| public Taglet | |
| private void | |
| private void | |
| public void | initTagletPath(JavaFileManager
the file manager to load classes and resources fileManager)Initializes the location TAGLET_PATH which is used to locate the custom taglets. |
| private void | |
| public boolean | |
| public void | loadTaglets(JavaFileManager
the file manager to load the taglets fileManager)Loads taglets from a taglet path using the service loader. |
| public void | printReport()
Print a list of |
| private void | |
| private void | printTagMisuseWarn(CommentHelper ch, Taglet
the taglet representing the misused tag taglet, DocTree the misused tag tag, String the type of documentation that the misused tag was found in holderType)Given the taglet, the tag and the type of documentation that the tag was found in, print a tag misuse warning. |
| private void | |
| pack-priv void | |
| private void |
| allTaglets | back to summary |
|---|---|
| private final LinkedHashMap<String, Taglet> allTaglets All taglets, keyed either by their | |
| blockTagletsByLocation | back to summary |
|---|---|
| private Map<Taglet. Block (non-inline) taglets, grouped by | |
| config | back to summary |
|---|---|
| private final HtmlConfiguration config | |
| docEnv | back to summary |
|---|---|
| private final DocletEnvironment docEnv | |
| doclet | back to summary |
|---|---|
| private final Doclet doclet | |
| inlineTags | back to summary |
|---|---|
| private Map<String, Taglet> inlineTags The taglets that can appear inline in descriptive text. | |
| javafx | back to summary |
|---|---|
| private final boolean javafx True if we want to use JavaFX-related tags ( | |
| messages | back to summary |
|---|---|
| private final Messages messages | |
| nosince | back to summary |
|---|---|
| private final boolean nosince True if we do not want to use | |
| overriddenStandardTags | back to summary |
|---|---|
| private final Set<String> overriddenStandardTags Keep track of overridden standard tags. | |
| potentiallyConflictingTags | back to summary |
|---|---|
| private final Set<String> potentiallyConflictingTags Keep track of the tags that may conflict with standard tags in the future (any custom tag without a period in its name). | |
| resources | back to summary |
|---|---|
| private final Resources resources | |
| serializedFormTags | back to summary |
|---|---|
| private List<Taglet> serializedFormTags The taglets that can appear in the serialized form. | |
| showauthor | back to summary |
|---|---|
| private final boolean showauthor True if we want to use | |
| showTaglets | back to summary |
|---|---|
| private final boolean showTaglets Show the taglets table when it has been initialized. | |
| showversion | back to summary |
|---|---|
| private final boolean showversion True if we want to use | |
| standardTags | back to summary |
|---|---|
| private final Set<String> standardTags Keep track of standard tags. | |
| tagletPath | back to summary |
|---|---|
| private final String tagletPath | |
| unseenCustomTags | back to summary |
|---|---|
| private final Set<String> unseenCustomTags The set of unseen custom tags. | |
| utils | back to summary |
|---|---|
| private final Utils utils | |
| TagletManager | back to summary |
|---|---|
| public TagletManager(HtmlConfiguration config) Constructs a new
| |
| addCustomTag | back to summary |
|---|---|
| public void addCustomTag(String classname, JavaFileManager fileManager) Adds a new
| |
| addNewSimpleCustomTag | back to summary |
|---|---|
| public void addNewSimpleCustomTag(String tagName, String header, String locations) Adds a new | |
| addStandardTaglet | back to summary |
|---|---|
| private void addStandardTaglet(Taglet taglet) | |
| addStandardTaglet | back to summary |
|---|---|
| private void addStandardTaglet(Taglet taglet, DocTree. | |
| checkTagName | back to summary |
|---|---|
| private void checkTagName(String name) Given a tag name, add it to the set of tags it belongs to. | |
| checkTags | back to summary |
|---|---|
| public void checkTags(Element element, Iterable<? extends DocTree> trees) Given a series of | |
| format | back to summary |
|---|---|
| private String format(boolean b, String s) | |
| getAllTagletNames | back to summary |
|---|---|
| public Set | |
| getBlockTaglets | back to summary |
|---|---|
| public List Returns the custom tags for a given element.
| |
| getInlineTaglets | back to summary |
|---|---|
| pack-priv Map Returns the taglets that can appear inline, in descriptive text. | |
| getSerializedFormTaglets | back to summary |
|---|---|
| public List Returns the taglets that can appear in the serialized form. | |
| getTaglet | back to summary |
|---|---|
| pack-priv Taglet getTaglet(String name) Given the name of a tag, return the corresponding taglet. | |
| getTaglet | back to summary |
|---|---|
| public Taglet getTaglet(DocTree. | |
| initJavaFXTaglets | back to summary |
|---|---|
| private void initJavaFXTaglets() Initialize JavaFX-related tags. | |
| initStandardTaglets | back to summary |
|---|---|
| private void initStandardTaglets() Initialize standard Javadoc tags for ordering purposes. | |
| initTagletPath | back to summary |
|---|---|
| public void initTagletPath(JavaFileManager fileManager) throws IOException Initializes the location TAGLET_PATH which is used to locate the custom taglets.
| |
| initTaglets | back to summary |
|---|---|
| private void initTaglets() Initialize the tag collections. | |
| isKnownCustomTag | back to summary |
|---|---|
| public boolean isKnownCustomTag(String tagName) | |
| loadTaglets | back to summary |
|---|---|
| public void loadTaglets(JavaFileManager fileManager) throws IOException Loads taglets from a taglet path using the service loader.
| |
| printReport | back to summary |
|---|---|
| public void printReport() Print a list of | |
| printReportHelper | back to summary |
|---|---|
| private void printReportHelper(String noticeKey, Set<String> names) | |
| printTagMisuseWarn | back to summary |
|---|---|
| private void printTagMisuseWarn(CommentHelper ch, Taglet taglet, DocTree tag, String holderType) Given the taglet, the tag and the type of documentation that the tag was found in, print a tag misuse warning. | |
| registerTaglet | back to summary |
|---|---|
| private void registerTaglet(Taglet instance) Registers the
| |
| seenTag | back to summary |
|---|---|
| pack-priv void seenTag(String name) Reports that a tag was seen in a doc comment. It is removed from the list of custom tags that have not yet been seen.
| |
| showTaglets | back to summary |
|---|---|
| private void showTaglets(PrintStream out) | |