Module io.xlate.staedi
Enum DialectFactory.DialectTag
- java.lang.Object
-
- java.lang.Enum<DialectFactory.DialectTag>
-
- io.xlate.edi.internal.stream.tokenization.DialectFactory.DialectTag
-
- All Implemented Interfaces:
Serializable,Comparable<DialectFactory.DialectTag>
- Enclosing interface:
- DialectFactory
public static enum DialectFactory.DialectTag extends Enum<DialectFactory.DialectTag>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DialectFactory.DialectTagfromValue(String tag)static DialectFactory.DialectTagvalueOf(String name)Returns the enum constant of this type with the specified name.static DialectFactory.DialectTag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X12
public static final DialectFactory.DialectTag X12
-
EDIFACT_A
public static final DialectFactory.DialectTag EDIFACT_A
-
EDIFACT_B
public static final DialectFactory.DialectTag EDIFACT_B
-
-
Method Detail
-
values
public static DialectFactory.DialectTag[] 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 (DialectFactory.DialectTag c : DialectFactory.DialectTag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DialectFactory.DialectTag 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
-
fromValue
public static DialectFactory.DialectTag fromValue(String tag)
-
-