Package org.daisy.dotify.api.formatter
Enum TransitionBuilderProperties.ApplicationRange
- java.lang.Object
-
- java.lang.Enum<TransitionBuilderProperties.ApplicationRange>
-
- org.daisy.dotify.api.formatter.TransitionBuilderProperties.ApplicationRange
-
- All Implemented Interfaces:
Serializable
,Comparable<TransitionBuilderProperties.ApplicationRange>
- Enclosing class:
- TransitionBuilderProperties
public static enum TransitionBuilderProperties.ApplicationRange extends Enum<TransitionBuilderProperties.ApplicationRange>
Defines the application range starting from the end of the volume. Within this range, pages may be treated differently from pages elsewhere.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransitionBuilderProperties.ApplicationRange
parse(String value)
Parses a string as aTransitionBuilderProperties.ApplicationRange
.static TransitionBuilderProperties.ApplicationRange
valueOf(String name)
Returns the enum constant of this type with the specified name.static TransitionBuilderProperties.ApplicationRange[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final TransitionBuilderProperties.ApplicationRange NONE
All pages are treated the same.
-
PAGE
public static final TransitionBuilderProperties.ApplicationRange PAGE
The last page may be treated differently.
-
SHEET
public static final TransitionBuilderProperties.ApplicationRange SHEET
The last sheet may be treated differently.
-
-
Method Detail
-
values
public static TransitionBuilderProperties.ApplicationRange[] 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 (TransitionBuilderProperties.ApplicationRange c : TransitionBuilderProperties.ApplicationRange.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransitionBuilderProperties.ApplicationRange 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
-
parse
public static TransitionBuilderProperties.ApplicationRange parse(String value)
Parses a string as aTransitionBuilderProperties.ApplicationRange
. There is a small difference of this method compared to callingvalueOf(String)
is that it is case insensitive (since all enum members contain upper case letters only).- Parameters:
value
- the string value- Returns:
- returns the range
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified name
-
-