public static enum EPPRegistryContact.PostalInfoTypeSupport extends java.lang.Enum<EPPRegistryContact.PostalInfoTypeSupport>
postalInfoTypeSupport
attribute. The
"Support" suffix is removed when setting the value in the element.Enum Constant and Description |
---|
intSupport
Indicates that a single <contact:postalInfo> element is supported
with the type "int".
|
locAndIntSupport
Indicates that up to two <contact:postalInfo> elements is
supported for defining both the "loc" and the "int" type.
|
locOrIntSupport
Indicates that a single <contact:postalInfo> element is supported
with the type "loc" or "int".
|
locSupport
Indicates that a single <contact:postalInfo> element is supported
with the type "loc".
|
Modifier and Type | Method and Description |
---|---|
static EPPRegistryContact.PostalInfoTypeSupport |
getSupport(java.lang.String aSupportStr)
Get the type enumerated value given the matching string.
|
java.lang.String |
toString()
Convert the enumerated
PostalInfoTypeSupport value to a
String . |
static EPPRegistryContact.PostalInfoTypeSupport |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EPPRegistryContact.PostalInfoTypeSupport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EPPRegistryContact.PostalInfoTypeSupport locSupport
public static final EPPRegistryContact.PostalInfoTypeSupport intSupport
public static final EPPRegistryContact.PostalInfoTypeSupport locOrIntSupport
public static final EPPRegistryContact.PostalInfoTypeSupport locAndIntSupport
public static EPPRegistryContact.PostalInfoTypeSupport[] values()
for (EPPRegistryContact.PostalInfoTypeSupport c : EPPRegistryContact.PostalInfoTypeSupport.values()) System.out.println(c);
public static EPPRegistryContact.PostalInfoTypeSupport valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static EPPRegistryContact.PostalInfoTypeSupport getSupport(java.lang.String aSupportStr)
aSupportStr
- PostalInfoTypeSupport
enumerated string to convert to
an enumerated PostalInfoTypeSupport
instance.PostalInfoTypeSupport
value matching the
String
.java.security.InvalidParameterException
- If aSupportStr
does not match an enumerated
PostalInfoTypeSupport
string value.public java.lang.String toString()
PostalInfoTypeSupport
value to a
String
.toString
in class java.lang.Enum<EPPRegistryContact.PostalInfoTypeSupport>
Copyright © VeriSign Inc. All Rights Reserved.