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 AA6AAAAAFSDBANYAPLATMAAXFRCAACDNSKEYCDSCERTCNAMECSYNCDHCIDDLVDNAMEDNSKEYDSEIDEUI48EUI64GIDGPOSHINFOHIPIPSECKEYISDNIXFRKEYKXL32L64LOCLPMAILAMAILBMBMDMFMGMINFOMRMXNAPTRNIDNIMLOCNINFONSNSAPNSAP_PTRNSECNSEC3NSEC3PARAMNULLNXTOPENPGPKEYOPTPTRPXRKEYRPRRSIGRTSIGSINKSOASPFSRVSSHFPTATALINKTKEYTLSATSIGTXTUIDUINFOUNKNOWNUNSPECURIWKSX25 -
Method Summary
Modifier and Type Method Description <D extends Data>
Class<D>getDataClass()Get theDataclass for this type.static Record.TYPEgetType(int value)Retrieve the symbolic type of the binary value.static <D extends Data>
Record.TYPEgetType(Class<D> dataClass)Retrieve the type for a givenDataclass.intgetValue()Retrieve the binary value of this type.static Record.TYPEvalueOf(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 theDataclass for this type.- Type Parameters:
D- The class for this type.- Returns:
- the
Dataclass 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 givenDataclass.- 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.
-