public interface Taglet
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
Taglet.Location |
The kind of location.
|
| Modifier and Type | Method | Description |
|---|---|---|
Set<Taglet.Location> |
getAllowedLocations() |
Returns the set of locations in which a taglet may be used.
|
String |
getName() |
Returns the name of the tag.
|
boolean |
isInlineTag() |
Indicates the tag is an inline or a body tag.
|
String |
toString(com.sun.source.doctree.DocTree tag) |
Given the
DocTree representation of this custom
tag, return its string representation, which is output
to the generated page. |
String |
toString(List<? extends com.sun.source.doctree.DocTree> tags) |
Given a List of
DocTrees representing this custom
tag, return its string representation, which is output
to the generated page. |
Set<Taglet.Location> getAllowedLocations()
boolean isInlineTag()
Taglet
is an inline tag, false otherwise.String getName()
String toString(com.sun.source.doctree.DocTree tag)
DocTree representation of this custom
tag, return its string representation, which is output
to the generated page.tag - the Tag representation of this custom tag.Tag.String toString(List<? extends com.sun.source.doctree.DocTree> tags)
DocTrees representing this custom
tag, return its string representation, which is output
to the generated page. This method should
return null if this taglet represents an inline or body tag.tags - the list of DocTrees representing this custom tag.Tag. Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1