|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<APIType> ro.sync.annotations.api.APIType
public enum APIType
An API element type. The constants of this enumerated type provide a simple classification of the Java types (classes / interfaces / enums / annotation types) that are intended to be exposed as public API.
These constants are used with the API
annotation type
to specify the type of the annotated API element.
Enum Constant Summary | |
---|---|
EXTENDABLE
API element intended to be extended / implemented by the developers. |
|
INTERNAL
API element intended for internal use - not accessible to developers. |
|
NOT_EXTENDABLE
API element intended for use-only purposes, not for inheritance. |
Field Summary | |
---|---|
int |
priority
The priority of this api type constant. |
Method Summary | |
---|---|
static APIType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static APIType[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final APIType EXTENDABLE
public static final APIType NOT_EXTENDABLE
public static final APIType INTERNAL
Field Detail |
---|
public int priority
Method Detail |
---|
public static APIType[] values()
for (APIType c : APIType.values()) System.out.println(c);
public static APIType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |