org.nhindirect.config.ui.form
Enum DNSType

java.lang.Object
  extended by java.lang.Enum<DNSType>
      extended by org.nhindirect.config.ui.form.DNSType
All Implemented Interfaces:
Serializable, Comparable<DNSType>

public enum DNSType
extends Enum<DNSType>


Enum Constant Summary
A
           
AAAA
           
CERT
           
CNAME
           
MX
           
NS
           
SOA
           
SPF
           
SRV
           
 
Method Summary
static DNSType get(int code)
           
static DNSType get(String value)
           
static List<DNSType> getAll()
           
 int getValue()
           
static DNSType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DNSType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.