public enum HighlightPolicy extends java.lang.Enum<HighlightPolicy>
Enum Constant and Description |
---|
BY_CHAR |
BY_LINE |
BY_WORD |
BY_WORD_SPLIT |
DO_NOT_HIGHLIGHT |
Modifier and Type | Method and Description |
---|---|
InnerFragmentsPolicy |
getFragmentsPolicy() |
java.lang.String |
getText() |
boolean |
isFineFragments() |
boolean |
isShouldCompare() |
boolean |
isShouldSquash() |
static HighlightPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HighlightPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HighlightPolicy BY_LINE
public static final HighlightPolicy BY_WORD
public static final HighlightPolicy BY_WORD_SPLIT
public static final HighlightPolicy BY_CHAR
public static final HighlightPolicy DO_NOT_HIGHLIGHT
public static HighlightPolicy[] values()
for (HighlightPolicy c : HighlightPolicy.values()) System.out.println(c);
public static HighlightPolicy 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 boolean isShouldCompare()
public boolean isFineFragments()
public boolean isShouldSquash()
public InnerFragmentsPolicy getFragmentsPolicy()