public static enum UnicodeSetSpanner.TrimOption extends Enum<UnicodeSetSpanner.TrimOption>
Enum Constant and Description |
---|
BOTH
Trim leading and trailing spans.
|
LEADING
Trim leading spans.
|
TRAILING
Trim trailing spans.
|
Modifier and Type | Method and Description |
---|---|
static UnicodeSetSpanner.TrimOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnicodeSetSpanner.TrimOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnicodeSetSpanner.TrimOption LEADING
public static final UnicodeSetSpanner.TrimOption BOTH
public static final UnicodeSetSpanner.TrimOption TRAILING
public static UnicodeSetSpanner.TrimOption[] values()
for (UnicodeSetSpanner.TrimOption c : UnicodeSetSpanner.TrimOption.values()) System.out.println(c);
public static UnicodeSetSpanner.TrimOption 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 © 2016 Unicode, Inc. and others.