public enum TextGranularity extends Enum<TextGranularity>
| Enum Constant and Description |
|---|
CHARACTER
Differences should be reported at the character level.
|
TEXT
Differences should be reported for the entire text node.
|
WORD
Differences should be reported at the word level.
|
| Modifier and Type | Method and Description |
|---|---|
static TextGranularity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextGranularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextGranularity CHARACTER
public static final TextGranularity WORD
public static final TextGranularity TEXT
public static TextGranularity[] values()
for (TextGranularity c : TextGranularity.values()) System.out.println(c);
public static TextGranularity valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2007-2022. All Rights Reserved.