|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<Jpf.ValidatorVersion>
Jpf.ValidatorVersion
public static enum Jpf.ValidatorVersion
Enumeration used by Jpf.Controller.validatorVersion()
to determine the version of Commons Validator that is
being used. This affects the format of generated Commons Validator configuration files.
Enum Constant Summary | |
---|---|
oneOne
Indicates that Commons Validator version 1.1 is being used. |
|
oneZero
Indicates that Commons Validator version 1.0 is being used. |
Method Summary | |
---|---|
static Jpf.ValidatorVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Jpf.ValidatorVersion[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Jpf.ValidatorVersion oneZero
public static final Jpf.ValidatorVersion oneOne
Method Detail |
---|
public static final Jpf.ValidatorVersion[] values()
for(Jpf.ValidatorVersion c : Jpf.ValidatorVersion.values()) System.out.println(c);
public static Jpf.ValidatorVersion valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |