Package pl.sgjp.morfeusz
Enum WhitespaceHandling
- java.lang.Object
-
- java.lang.Enum<WhitespaceHandling>
-
- pl.sgjp.morfeusz.WhitespaceHandling
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WhitespaceHandling>
public enum WhitespaceHandling extends java.lang.Enum<WhitespaceHandling>
Represents whitespace handling strategies (default is SKIP_WHITESPACES).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPEND_WHITESPACES
KEEP_WHITESPACES
SKIP_WHITESPACES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WhitespaceHandling
swigToEnum(int swigValue)
int
swigValue()
static WhitespaceHandling
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WhitespaceHandling[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SKIP_WHITESPACES
public static final WhitespaceHandling SKIP_WHITESPACES
-
APPEND_WHITESPACES
public static final WhitespaceHandling APPEND_WHITESPACES
-
KEEP_WHITESPACES
public static final WhitespaceHandling KEEP_WHITESPACES
-
-
Method Detail
-
values
public static WhitespaceHandling[] 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 (WhitespaceHandling c : WhitespaceHandling.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WhitespaceHandling valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
swigValue
public final int swigValue()
-
swigToEnum
public static WhitespaceHandling swigToEnum(int swigValue)
-
-