Package nl.dedicon.pipeline.braille.step
Enum CapitalMode
- java.lang.Object
-
- java.lang.Enum<CapitalMode>
-
- nl.dedicon.pipeline.braille.step.CapitalMode
-
- All Implemented Interfaces:
Serializable,Comparable<CapitalMode>
public enum CapitalMode extends Enum<CapitalMode>
Capital Mode- Author:
- Paul Rambags
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CapitalModevalueOf(String name)Returns the enum constant of this type with the specified name.static CapitalMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
lowercase
public static final CapitalMode lowercase
-
letter
public static final CapitalMode letter
-
word
public static final CapitalMode word
-
permanent
public static final CapitalMode permanent
-
-
Method Detail
-
values
public static CapitalMode[] 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 (CapitalMode c : CapitalMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CapitalMode 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
-
-