public enum IgnorePolicy extends java.lang.Enum<IgnorePolicy>
Enum Constant and Description |
---|
DEFAULT |
FORMATTING |
IGNORE_WHITESPACES |
IGNORE_WHITESPACES_CHUNKS |
TRIM_WHITESPACES |
Modifier and Type | Method and Description |
---|---|
ComparisonPolicy |
getComparisonPolicy() |
java.lang.String |
getText() |
boolean |
isShouldTrimChunks() |
static IgnorePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IgnorePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IgnorePolicy DEFAULT
public static final IgnorePolicy TRIM_WHITESPACES
public static final IgnorePolicy IGNORE_WHITESPACES
public static final IgnorePolicy IGNORE_WHITESPACES_CHUNKS
public static final IgnorePolicy FORMATTING
public static IgnorePolicy[] values()
for (IgnorePolicy c : IgnorePolicy.values()) System.out.println(c);
public static IgnorePolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getText()
public ComparisonPolicy getComparisonPolicy()
public boolean isShouldTrimChunks()