jdk.javadoc.doclet.Taglet
interface only supports
output to strings. This interface supports structured output,
to Content
objects, such as HtmlTree
.
User-provided taglets are supported using the UserTaglet
wrapper class.
Modifier and Type | Class and Description |
---|---|
public static class |
Modifier and Type | Method and Description |
---|---|
public Content | Returns: the output for this tagthe element for the enclosing doc comment owner, TagletWriter the taglet-writer used in this doclet tagletWriter)Returns the content to be included in the generated output for all instances of block tags handled by this taglet. |
public Set | Returns: the set of allowable locationsReturns the set of allowed locations for a block tag handled by this taglet. |
public Content | Returns: the output for this tagthe element for the enclosing doc comment owner, DocTree the tag tag, TagletWriter the taglet-writer used in this doclet tagletWriter)Returns the content to be included in the generated output for an instance of an inline tag handled by this taglet. |
public String | |
public default boolean | Returns: true if this Taglet can be used in constructor documentation
and false otherwiseIndicates whether this |
public default boolean | Returns: true if this Taglet can be used in field documentation
and false otherwiseIndicates whether this |
public default boolean | Returns: true if this Taglet can be used in method documentation
and false otherwiseIndicates whether this |
public default boolean | Returns: true if this Taglet can be used in module documentation
and false otherwiseIndicates whether this |
public default boolean | Returns: true if this Taglet can be used in overview documentation
and false otherwiseIndicates whether this |
public default boolean | Returns: true if this Taglet can be used in package documentation
and false otherwiseIndicates whether this |
public default boolean | Returns: true if this Taglet can be used in type documentation
and false otherwiseIndicates whether this |
public default boolean | Returns: true if this Taglet represents a block tagIndicates whether this |
public boolean | Returns: true if this Taglet represents an inline tag
and false otherwiseIndicates whether this |
getAllBlockTagOutput | back to summary |
---|---|
public Content getAllBlockTagOutput(Element owner, TagletWriter tagletWriter) throws UnsupportedTagletOperationException Returns the content to be included in the generated output for all instances of block tags handled by this taglet.
|
getAllowedLocations | back to summary |
---|---|
public Set Returns the set of allowed locations for a block tag handled by this taglet. |
getInlineTagOutput | back to summary |
---|---|
public Content getInlineTagOutput(Element owner, DocTree tag, TagletWriter tagletWriter) throws UnsupportedTagletOperationException Returns the content to be included in the generated output for an instance of an inline tag handled by this taglet.
|
getName | back to summary |
---|---|
public String getName() Returns the name of this tag.
|
inConstructor | back to summary |
---|---|
public default boolean inConstructor() Indicates whether this
|
inField | back to summary |
---|---|
public default boolean inField() Indicates whether this
|
inMethod | back to summary |
---|---|
public default boolean inMethod() Indicates whether this
|
inModule | back to summary |
---|---|
public default boolean inModule() Indicates whether this
|
inOverview | back to summary |
---|---|
public default boolean inOverview() Indicates whether this
|
inPackage | back to summary |
---|---|
public default boolean inPackage() Indicates whether this
|
inType | back to summary |
---|---|
public default boolean inType() Indicates whether this
|
isBlockTag | back to summary |
---|---|
public default boolean isBlockTag() Indicates whether this Implementation Specification This implementation returns the inverse
result to
|
isInlineTag | back to summary |
---|---|
public boolean isInlineTag() Indicates whether this
|
Modifier and Type | Field and Description |
---|---|
private static final long |
Access | Constructor and Description |
---|---|
public |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides java. |
UnsupportedTagletOperationException | back to summary |
---|---|
public UnsupportedTagletOperationException(String message) |