|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.dpml.lang.Enum
net.dpml.lang.ValuedEnum
net.dpml.lang.Category
public final class Category
Classoader category enumeration.
Field Summary | |
---|---|
static Category |
PRIVATE
Implementation category. |
static Category |
PROTECTED
SPI category. |
static Category |
PUBLIC
API category. |
static Category |
SYSTEM
System category. |
static Category |
UNDEFINED
Undefined category. |
Method Summary | |
---|---|
static Category |
parse(int value)
Create a category by parsing the supplied value. |
static Category |
parse(String value)
Create a category by parsing the supplied name. |
String |
toString()
Return a string representation of the category. |
static Category[] |
values()
Returns an array of activation enum values. |
Methods inherited from class net.dpml.lang.ValuedEnum |
---|
compareTo, equals, getValue, hashCode, isEqualTo, isGreaterThan, isGreaterThanOrEqual, isLessThan, isLessThanOrEqual |
Methods inherited from class net.dpml.lang.Enum |
---|
getName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Category UNDEFINED
public static final Category SYSTEM
public static final Category PUBLIC
public static final Category PROTECTED
public static final Category PRIVATE
Method Detail |
---|
public static Category[] values()
public String toString()
toString
in class ValuedEnum
public static Category parse(int value) throws IllegalArgumentException
value
- the category name
IllegalArgumentException
- if the value is not recognizedpublic static Category parse(String value) throws IllegalArgumentException
value
- the category name
IllegalArgumentException
- if the value is not recognized
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |