|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<WhiteSpaceProcessing> com.topologi.diffx.config.WhiteSpaceProcessing
public enum WhiteSpaceProcessing
Defines how white spaces should be processed.
White space processing can have functional implications at all stages of diffing, including when loading and formatting.
Enum Constant Summary | |
---|---|
COMPARE
White spaces should be preserved throughout the process and compared. |
|
IGNORE
All white spaces should be completely ignored, this is the most efficient processing. |
|
PRESERVE
White spaces should be preserved, that is they will be loaded and returned during formatting, but the algorithm can consider them equivalent and will not report differences between white spaces. |
Method Summary | |
---|---|
static WhiteSpaceProcessing |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WhiteSpaceProcessing[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final WhiteSpaceProcessing IGNORE
public static final WhiteSpaceProcessing PRESERVE
public static final WhiteSpaceProcessing COMPARE
Method Detail |
---|
public static WhiteSpaceProcessing[] values()
for (WhiteSpaceProcessing c : WhiteSpaceProcessing.values()) System.out.println(c);
public static WhiteSpaceProcessing valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |