Enum InternalContract.BrailleRange
- java.lang.Object
-
- java.lang.Enum<InternalContract.BrailleRange>
-
- org.daisy.braille.utils.impl.tools.embosser.InternalContract.BrailleRange
-
- All Implemented Interfaces:
Serializable
,Comparable<InternalContract.BrailleRange>
- Enclosing class:
- InternalContract
public static enum InternalContract.BrailleRange extends Enum<InternalContract.BrailleRange>
Defines a braille range.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InternalContract.BrailleRange
valueOf(String name)
Returns the enum constant of this type with the specified name.static InternalContract.BrailleRange[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final InternalContract.BrailleRange UNDEFINED
The braille range in this contract is undefined.
-
SIX_DOT
public static final InternalContract.BrailleRange SIX_DOT
Only 6-dot braille characters will be sent to the embosser.
-
EIGHT_DOT
public static final InternalContract.BrailleRange EIGHT_DOT
At least one 8-dot braille character will be sent to the embosser.
-
-
Method Detail
-
values
public static InternalContract.BrailleRange[] 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 (InternalContract.BrailleRange c : InternalContract.BrailleRange.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InternalContract.BrailleRange 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
-
-