public static enum Record.TYPE extends Enum<Record.TYPE>
Enum Constant and Description |
---|
A |
A6 |
AAAA |
AFSDB |
ANY |
APL |
ATMA |
AXFR |
CAA |
CDNSKEY |
CDS |
CERT |
CNAME |
CSYNC |
DHCID |
DLV |
DNAME |
DNSKEY |
DS |
EID |
EUI48 |
EUI64 |
GID |
GPOS |
HINFO |
HIP |
IPSECKEY |
ISDN |
IXFR |
KEY |
KX |
L32 |
L64 |
LOC |
LP |
MAILA |
MAILB |
MB |
MD |
MF |
MG |
MINFO |
MR |
MX |
NAPTR |
NID |
NIMLOC |
NINFO |
NS |
NSAP |
NSAP_PTR |
NSEC |
NSEC3 |
NSEC3PARAM |
NULL |
NXT |
OPENPGPKEY |
OPT |
PTR |
PX |
RKEY |
RP |
RRSIG |
RT |
SIG |
SINK |
SOA |
SPF |
SRV |
SSHFP |
TA |
TALINK |
TKEY |
TLSA |
TSIG |
TXT |
UID |
UINFO |
UNKNOWN |
UNSPEC |
URI |
WKS |
X25 |
Modifier and Type | Method and Description |
---|---|
<D extends Data> |
getDataClass()
Get the
Data class for this type. |
static <D extends Data> |
getType(Class<D> dataClass)
Retrieve the type for a given
Data class. |
static Record.TYPE |
getType(int value)
Retrieve the symbolic type of the binary value.
|
int |
getValue()
Retrieve the binary value of this type.
|
static Record.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Record.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Record.TYPE UNKNOWN
public static final Record.TYPE A
public static final Record.TYPE NS
public static final Record.TYPE MD
public static final Record.TYPE MF
public static final Record.TYPE CNAME
public static final Record.TYPE SOA
public static final Record.TYPE MB
public static final Record.TYPE MG
public static final Record.TYPE MR
public static final Record.TYPE NULL
public static final Record.TYPE WKS
public static final Record.TYPE PTR
public static final Record.TYPE HINFO
public static final Record.TYPE MINFO
public static final Record.TYPE MX
public static final Record.TYPE TXT
public static final Record.TYPE RP
public static final Record.TYPE AFSDB
public static final Record.TYPE X25
public static final Record.TYPE ISDN
public static final Record.TYPE RT
public static final Record.TYPE NSAP
public static final Record.TYPE NSAP_PTR
public static final Record.TYPE SIG
public static final Record.TYPE KEY
public static final Record.TYPE PX
public static final Record.TYPE GPOS
public static final Record.TYPE AAAA
public static final Record.TYPE LOC
public static final Record.TYPE NXT
public static final Record.TYPE EID
public static final Record.TYPE NIMLOC
public static final Record.TYPE SRV
public static final Record.TYPE ATMA
public static final Record.TYPE NAPTR
public static final Record.TYPE KX
public static final Record.TYPE CERT
public static final Record.TYPE A6
public static final Record.TYPE DNAME
public static final Record.TYPE SINK
public static final Record.TYPE OPT
public static final Record.TYPE APL
public static final Record.TYPE DS
public static final Record.TYPE SSHFP
public static final Record.TYPE IPSECKEY
public static final Record.TYPE RRSIG
public static final Record.TYPE NSEC
public static final Record.TYPE DNSKEY
public static final Record.TYPE DHCID
public static final Record.TYPE NSEC3
public static final Record.TYPE NSEC3PARAM
public static final Record.TYPE TLSA
public static final Record.TYPE HIP
public static final Record.TYPE NINFO
public static final Record.TYPE RKEY
public static final Record.TYPE TALINK
public static final Record.TYPE CDS
public static final Record.TYPE CDNSKEY
public static final Record.TYPE OPENPGPKEY
public static final Record.TYPE CSYNC
public static final Record.TYPE SPF
public static final Record.TYPE UINFO
public static final Record.TYPE UID
public static final Record.TYPE GID
public static final Record.TYPE UNSPEC
public static final Record.TYPE NID
public static final Record.TYPE L32
public static final Record.TYPE L64
public static final Record.TYPE LP
public static final Record.TYPE EUI48
public static final Record.TYPE EUI64
public static final Record.TYPE TKEY
public static final Record.TYPE TSIG
public static final Record.TYPE IXFR
public static final Record.TYPE AXFR
public static final Record.TYPE MAILB
public static final Record.TYPE MAILA
public static final Record.TYPE ANY
public static final Record.TYPE URI
public static final Record.TYPE CAA
public static final Record.TYPE TA
public static final Record.TYPE DLV
public static Record.TYPE[] values()
for (Record.TYPE c : Record.TYPE.values()) System.out.println(c);
public static Record.TYPE valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public <D extends Data> Class<D> getDataClass()
Data
class for this type.D
- The class for this type.Data
class for this type.public static Record.TYPE getType(int value)
value
- The binary type value.public static <D extends Data> Record.TYPE getType(Class<D> dataClass)
Data
class.D
- The class for this type.dataClass
- the class to lookup the type for.