|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RecordClass>
org.apache.directory.server.dns.messages.RecordClass
public enum RecordClass
Enum Constant Summary | |
---|---|
ANY
Any class |
|
CH
CHAOS class |
|
CS
CSNET class |
|
HS
Hesiod [Dyer 87] |
|
IN
Internet |
|
NONE
Special value used in dynamic update messages |
Method Summary | |
---|---|
java.lang.Short |
convert()
Convert the enum to another type. |
static RecordClass |
convert(short value)
Converts an ordinal value into a RecordClass . |
static RecordClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RecordClass[] |
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 RecordClass IN
public static final RecordClass CS
public static final RecordClass CH
public static final RecordClass HS
public static final RecordClass NONE
public static final RecordClass ANY
Method Detail |
---|
public static RecordClass[] values()
for (RecordClass c : RecordClass.values()) System.out.println(c);
public static RecordClass 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 nullpublic java.lang.Short convert()
EnumConverter
convert
in interface EnumConverter<java.lang.Short>
public static RecordClass convert(short value)
RecordClass
.
value
-
RecordClass
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |