Enum Class AnnotationType
- All Implemented Interfaces:
Serializable, Comparable<AnnotationType>, Constable
- Author:
- Bernd Rosstauscher
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationTypegetByDefinition(String definition) Get annotation type by it's typeClass<?> intstatic AnnotationTypeReturns the enum constant of this class with the specified name.static AnnotationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
LINK
-
WIDGET
-
STAMP
-
FREETEXT
-
SIGNATURE
-
TEXT
-
LINE
-
SQUARE
-
CIRCLE
-
POLYGON
-
POLYLINE
-
HIGHLIGHT
-
UNDERLINE
-
SQUIGGLY
-
STRIKEOUT
-
CARET
-
INK
-
FILEATTACHMENT
-
SOUND
-
MOVIE
-
SCREEN
-
PRINTERMARK
-
TRAPNET
-
WATERMARK
-
THREED
-
REDACT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getDefinition
- Returns:
- the definition
-
getInternalId
public int getInternalId()- Returns:
- the internalId
-
getClassName
- Returns:
- the className
-
getByDefinition
Get annotation type by it's type- Parameters:
definition-- Returns:
-