Enum Class EPPValidatePostalDefinition.Type
java.lang.Object
java.lang.Enum<EPPValidatePostalDefinition.Type>
com.verisign.epp.codec.validate.v02.EPPValidatePostalDefinition.Type
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<EPPValidatePostalDefinition.Type>,Constable
- Enclosing class:
EPPValidatePostalDefinition
public static enum EPPValidatePostalDefinition.Type
extends Enum<EPPValidatePostalDefinition.Type>
implements Serializable, Cloneable
Localized type with one of the following values:
LOC- Localized form of data that MAY be represented in unrestricted UTF-8.INT- Internationalized form o data that MUST be represented in a subset of UTF-8 that can be represented in the 7-bit US-ASCII character set.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionGet the type enumerated value given the matching string.toString()Convert the enumeratedTypevalue to aString.Returns the enum constant of this class with the specified name.static EPPValidatePostalDefinition.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOC
-
INT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getType
Get the type enumerated value given the matching string.- Parameters:
aType-Typeenumerated string to convert to an enumeratedTypeinstance.- Returns:
- Enumerated
Typevalue matching theString. - Throws:
InvalidParameterException- IfaStringdoes not match an enumeratedTypestring value.
-
toString
Convert the enumeratedTypevalue to aString.- Overrides:
toStringin classEnum<EPPValidatePostalDefinition.Type>
-