public static enum RegexpSupport.ErrorMode extends Enum<RegexpSupport.ErrorMode>
Enum Constant and Description |
---|
DESC |
PREPROCESS |
RAISE |
Modifier and Type | Method and Description |
---|---|
static RegexpSupport.ErrorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegexpSupport.ErrorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegexpSupport.ErrorMode RAISE
public static final RegexpSupport.ErrorMode PREPROCESS
public static final RegexpSupport.ErrorMode DESC
public static RegexpSupport.ErrorMode[] values()
for (RegexpSupport.ErrorMode c : RegexpSupport.ErrorMode.values()) System.out.println(c);
public static RegexpSupport.ErrorMode 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 © 2001-2015 JRuby. All Rights Reserved.