Package com.globalmentor.net
Enum ResourceRecord.Type
- All Implemented Interfaces:
Serializable
,Comparable<ResourceRecord.Type>
- Enclosing class:
- ResourceRecord
Common, known resource record types.
- API Note:
- This list is not exhaustive, but provides merely a convenience, type-safe approach for indicating common types.
- See Also:
-
Enum Constant Summary
Enum ConstantDescriptionA host address.The canonical name for an aliasMailbox or mail list information.A mailbox domain name.Deprecated.Deprecated.Obsolete; useMX
.A mail group member.A mail rename domain name.Mail exchange.An authoritative name server.A null resource record.A domain name pointer.Marks the start of a zone of authority.Text strings.A well known service description. -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
static ResourceRecord.Type
Returns the enum constant of this type with the specified name.static ResourceRecord.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
A
A host address.- See Also:
-
CNAME
The canonical name for an alias- See Also:
-
HINFO
Mailbox or mail list information.- See Also:
-
MB
A mailbox domain name.- API Note:
- Experimental.
- See Also:
-
MD
Deprecated.Obsolete; useMX
.A mail destination.- See Also:
-
MF
Deprecated.Obsolete; useMX
.A mail forwarder.- See Also:
-
MG
A mail group member.- API Note:
- Experimental.
- See Also:
-
MR
A mail rename domain name.- API Note:
- Experimental.
- See Also:
-
MX
Mail exchange. -
NS
An authoritative name server.- See Also:
-
NULL
A null resource record.- API Note:
- Experimental.
- See Also:
-
PTR
A domain name pointer.- See Also:
-
SOA
Marks the start of a zone of authority. -
TXT
Text strings.- API Note:
- A
TXT
string value arecharacter-string
in RFC 1035 - See Also:
-
WKS
A well known service description.- See Also:
-
-
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
-
getId
public int getId()- Returns:
- The type ID.
-
MX
.