Package com.adyen.model.nexo
Enum CharacterWidthType
- java.lang.Object
-
- java.lang.Enum<CharacterWidthType>
-
- com.adyen.model.nexo.CharacterWidthType
-
- All Implemented Interfaces:
Serializable,Comparable<CharacterWidthType>
public enum CharacterWidthType extends Enum<CharacterWidthType>
Java class for CharacterWidthType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CharacterWidthType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="SingleWidth"/> <enumeration value="DoubleWidth"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOUBLE_WIDTHDouble width character width type.SINGLE_WIDTHSingle width character width type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CharacterWidthTypefromValue(String v)From value character width type.Stringvalue()Value string.static CharacterWidthTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CharacterWidthType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_WIDTH
public static final CharacterWidthType SINGLE_WIDTH
Single width character width type.
-
DOUBLE_WIDTH
public static final CharacterWidthType DOUBLE_WIDTH
Double width character width type.
-
-
Method Detail
-
values
public static CharacterWidthType[] 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 (CharacterWidthType c : CharacterWidthType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CharacterWidthType 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 nameNullPointerException- if the argument is null
-
value
public String value()
Value string.- Returns:
- the string
-
fromValue
public static CharacterWidthType fromValue(String v)
From value character width type.- Parameters:
v- the v- Returns:
- the character width type
-
-