org.nhindirect.config.ui.form
Enum DNSType
java.lang.Object
java.lang.Enum<DNSType>
org.nhindirect.config.ui.form.DNSType
- All Implemented Interfaces:
- Serializable, Comparable<DNSType>
public enum DNSType
- extends Enum<DNSType>
A
public static final DNSType A
CNAME
public static final DNSType CNAME
SOA
public static final DNSType SOA
MX
public static final DNSType MX
AAAA
public static final DNSType AAAA
SRV
public static final DNSType SRV
CERT
public static final DNSType CERT
NS
public static final DNSType NS
SPF
public static final DNSType SPF
values
public static DNSType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DNSType c : DNSType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DNSType valueOf(String name)
- 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 name
NullPointerException - if the argument is null
getValue
public int getValue()
get
public static DNSType get(int code)
get
public static DNSType get(String value)
getAll
public static List<DNSType> getAll()
Copyright © 2011. All Rights Reserved.