public static enum Quantifier.ConsumingStrategy extends Enum<Quantifier.ConsumingStrategy>
Pattern
. See docs for more info.Enum Constant and Description |
---|
NOT_FOLLOW |
NOT_NEXT |
SKIP_TILL_ANY |
SKIP_TILL_NEXT |
STRICT |
Modifier and Type | Method and Description |
---|---|
static Quantifier.ConsumingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Quantifier.ConsumingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Quantifier.ConsumingStrategy STRICT
public static final Quantifier.ConsumingStrategy SKIP_TILL_NEXT
public static final Quantifier.ConsumingStrategy SKIP_TILL_ANY
public static final Quantifier.ConsumingStrategy NOT_FOLLOW
public static final Quantifier.ConsumingStrategy NOT_NEXT
public static Quantifier.ConsumingStrategy[] values()
for (Quantifier.ConsumingStrategy c : Quantifier.ConsumingStrategy.values()) System.out.println(c);
public static Quantifier.ConsumingStrategy 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 © 2014–2020 The Apache Software Foundation. All rights reserved.