|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<JavadocTagPlace> org.schmant.task.template.jdk.javadoc.JavadocTagPlace
public enum JavadocTagPlace
This is an enumeration over all places where a Javadoc tag may occur. See the JDK Javadoc documentation for more info.
JavadocTagDefinition
Enum Constant Summary | |
---|---|
CONSTRUCTORS
Indicates that the tag can be placed in the documentation for class constructors. |
|
FIELDS
Indicates that the tag can be placed in the documentation of fields. |
|
METHODS
Indicates that the tag can be placed in the documentation of methods. |
|
OVERVIEW
Indicates that the tag can be placed in the overview documentation. |
|
PACKAGES
Indicates that the tag can be placed in the package documentation. |
|
TYPES
Indicates that the tag can be placed in the class or interface documentation. |
Method Summary | |
---|---|
char |
getChar()
Get the character identifying the tag place as defined in the Javadoc tool documentation. |
static JavadocTagPlace |
getFromChar(char c)
Get the enumeration constant that represents the supplied tag place character. |
String |
getIdentifier()
Get a textual description of the tag place. |
String |
toString()
|
static JavadocTagPlace |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JavadocTagPlace[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JavadocTagPlace OVERVIEW
This corresponds to giving the -tag
parameter the tag placement
argument o
.
public static final JavadocTagPlace PACKAGES
This corresponds to giving the -tag
parameter the tag placement
argument p
.
public static final JavadocTagPlace TYPES
This corresponds to giving the -tag
parameter the tag placement
argument t
.
public static final JavadocTagPlace CONSTRUCTORS
This corresponds to giving the -tag
parameter the tag placement
argument c
.
public static final JavadocTagPlace METHODS
This corresponds to giving the -tag
parameter the tag placement
argument m
.
public static final JavadocTagPlace FIELDS
This corresponds to giving the -tag
parameter the tag placement
argument f
.
Method Detail |
---|
public static JavadocTagPlace[] values()
for (JavadocTagPlace c : JavadocTagPlace.values()) System.out.println(c);
public static JavadocTagPlace valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getIdentifier()
public char getChar()
public static JavadocTagPlace getFromChar(char c) throws IllegalArgumentException
c
- The tag place character. (As defined in the Javadoc
documentation.)
JavadocTagPlace
enumeration constant that corresponds
to the supplied character.
IllegalArgumentException
- If the character does not correspond to
a enumeration constant.public String toString()
toString
in class Enum<JavadocTagPlace>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |