public enum ModifiedWhitespaceBehaviour extends java.lang.Enum<ModifiedWhitespaceBehaviour>
Enum Constant and Description |
---|
AUTOMATIC
The context dependent automatic whitespace setting.
|
IGNORE
Ignore differences in whitespace that is not explicitly preserved.
|
KEEP_A
Similar to 'ignore' except that 'A' document's whitespace is kept (instead of the 'B' document's whitespace).
|
NORMALIZE
Normalize whitespace in inputs before comparison.
|
SHOW
Display the differences in whitespace where possible.
|
Modifier and Type | Method and Description |
---|---|
static ModifiedWhitespaceBehaviour |
getModifedWhitespaceBehaviour(java.lang.String value)
Returns a
ModifiedWhitespaceBehaviour object from the supplied String value if appropriate. |
java.lang.String |
toString()
Returns a String representation of
ModifiedWhitespaceBehaviour . |
static ModifiedWhitespaceBehaviour |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModifiedWhitespaceBehaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModifiedWhitespaceBehaviour SHOW
public static final ModifiedWhitespaceBehaviour IGNORE
public static final ModifiedWhitespaceBehaviour KEEP_A
public static final ModifiedWhitespaceBehaviour NORMALIZE
public static final ModifiedWhitespaceBehaviour AUTOMATIC
ResultFormat
is ResultFormat.DELTA
, and ignoring whitespace change in all other contexts.public static ModifiedWhitespaceBehaviour[] values()
for (ModifiedWhitespaceBehaviour c : ModifiedWhitespaceBehaviour.values()) System.out.println(c);
public static ModifiedWhitespaceBehaviour 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 toString()
Returns a String representation of ModifiedWhitespaceBehaviour
.
toString
in class java.lang.Enum<ModifiedWhitespaceBehaviour>
ModifiedWhitespaceBehaviour
objectpublic static ModifiedWhitespaceBehaviour getModifedWhitespaceBehaviour(java.lang.String value)
Returns a ModifiedWhitespaceBehaviour
object from the supplied String value if appropriate.
This method should not be used under normal circumstances, enum instance values should be used instead.
value
- a String representation of a ModifiedWhitespaceBehaviour
valueModifiedWhitespaceBehaviour
instance corresponding to the parameter, or null if the value is invalid