public static interface GenericEditor.CMEval
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
eval(java.lang.Object val,
java.lang.Object[] choices,
boolean emptyOK) |
Evaluate the given value entry against a list
of choices, throwing an exception on problems.
|
java.lang.Object eval(java.lang.Object val, java.lang.Object[] choices, boolean emptyOK) throws CMException
val
- the user entrychoices
- the choicesemptyOK
- true if "" is an ok valueCMException
- any errors