Package cdc.converters
Enum SpecialConverterKind
- java.lang.Object
-
- java.lang.Enum<SpecialConverterKind>
-
- cdc.converters.SpecialConverterKind
-
- All Implemented Interfaces:
Serializable,Comparable<SpecialConverterKind>
public enum SpecialConverterKind extends Enum<SpecialConverterKind>
Enumeration of special converter kinds.- Author:
- Damien Carbonne
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULTThe converter has been declared as a default converter for a (source class, target class) pair.DEFAULT_OR_SINGLEThe converter is either a default converter or single for a (source class, target class) pair.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpecialConverterKindvalueOf(String name)Returns the enum constant of this type with the specified name.static SpecialConverterKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final SpecialConverterKind DEFAULT
The converter has been declared as a default converter for a (source class, target class) pair.
-
DEFAULT_OR_SINGLE
public static final SpecialConverterKind DEFAULT_OR_SINGLE
The converter is either a default converter or single for a (source class, target class) pair.
-
-
Method Detail
-
values
public static SpecialConverterKind[] 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 (SpecialConverterKind c : SpecialConverterKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpecialConverterKind 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
-
-