Package org.minidns.record
Enum Record.TYPE
- All Implemented Interfaces:
Serializable
,Comparable<Record.TYPE>
,java.lang.constant.Constable
public static enum Record.TYPE extends Enum<Record.TYPE>
The resource record type.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Method Summary
Modifier and Type Method Description <D extends Data>
Class<D>getDataClass()
Get theData
class for this type.static Record.TYPE
getType(int value)
Retrieve the symbolic type of the binary value.static <D extends Data>
Record.TYPEgetType(Class<D> dataClass)
Retrieve the type for a givenData
class.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.
-
Enum Constant Details
-
UNKNOWN
-
A
-
NS
-
MD
-
MF
-
CNAME
-
SOA
-
MB
-
MG
-
MR
-
NULL
-
WKS
-
PTR
-
HINFO
-
MINFO
-
MX
-
TXT
-
RP
-
AFSDB
-
X25
-
ISDN
-
RT
-
NSAP
-
NSAP_PTR
-
SIG
-
KEY
-
PX
-
GPOS
-
AAAA
-
LOC
-
NXT
-
EID
-
NIMLOC
-
SRV
-
ATMA
-
NAPTR
-
KX
-
CERT
-
A6
-
DNAME
-
SINK
-
OPT
-
APL
-
DS
-
SSHFP
-
IPSECKEY
-
RRSIG
-
NSEC
-
DNSKEY
-
DHCID
-
NSEC3
-
NSEC3PARAM
-
TLSA
-
HIP
-
NINFO
-
RKEY
-
TALINK
-
CDS
-
CDNSKEY
-
OPENPGPKEY
-
CSYNC
-
SPF
-
UINFO
-
UID
-
GID
-
UNSPEC
-
NID
-
L32
-
L64
-
LP
-
EUI48
-
EUI64
-
TKEY
-
TSIG
-
IXFR
-
AXFR
-
MAILB
-
MAILA
-
ANY
-
URI
-
CAA
-
TA
-
DLV
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()Retrieve the binary value of this type.- Returns:
- The binary value.
-
getDataClass
Get theData
class for this type.- Type Parameters:
D
- The class for this type.- Returns:
- the
Data
class for this type.
-
getType
Retrieve the symbolic type of the binary value.- Parameters:
value
- The binary type value.- Returns:
- The symbolic tpye.
-
getType
Retrieve the type for a givenData
class.- Type Parameters:
D
- The class for this type.- Parameters:
dataClass
- the class to lookup the type for.- Returns:
- the type for the given data class.
-