public enum DomainType extends Enum<DomainType>
| Modifier and Type | Method and Description | 
|---|---|
| static DomainType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static DomainType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final DomainType UNKNOWN
public static final DomainType ICANN
public static final DomainType PRIVATE
public static DomainType[] values()
for (DomainType c : DomainType.values()) System.out.println(c);
public static DomainType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.