Package org.opengis.tools.taglet
Class Note
java.lang.Object
org.opengis.tools.taglet.Note
- All Implemented Interfaces:
jdk.javadoc.doclet.Taglet
The
@note tag for inserting a note in a javadoc comment.- Since:
- 2.0
- Version:
- 3.0.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.javadoc.doclet.Taglet
jdk.javadoc.doclet.Taglet.Location -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<jdk.javadoc.doclet.Taglet.Location> Returns the set of locations in which this taglet may be used.getName()Returns the name of this custom tag.booleanReturnstruesince@noteis an inline tag.Given a list ofDocTrees representing this custom tag, returns its string representation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jdk.javadoc.doclet.Taglet
init, isBlockTag
-
Constructor Details
-
Note
public Note()Constructs a default@notetaglet.
-
-
Method Details
-
getName
Returns the name of this custom tag.- Specified by:
getNamein interfacejdk.javadoc.doclet.Taglet- Returns:
- the tag name.
-
getAllowedLocations
Returns the set of locations in which this taglet may be used.- Specified by:
getAllowedLocationsin interfacejdk.javadoc.doclet.Taglet- Returns:
- the set of locations in which this taglet may be used.
-
isInlineTag
public boolean isInlineTag()Returnstruesince@noteis an inline tag.- Specified by:
isInlineTagin interfacejdk.javadoc.doclet.Taglet- Returns:
- always
true.
-
toString
Given a list ofDocTrees representing this custom tag, returns its string representation.- Specified by:
toStringin interfacejdk.javadoc.doclet.Taglet- Parameters:
tags- the tags to format.element- the element to which the enclosing comment belongs.- Returns:
- a string representation of the given tags.
-