public static interface AbstractPicker.PickerResultValidator
PickerResultValidator is responsible for two operations:
validating a browse result; and providing an error message for invalid
browse results.
For example, a validator used in conjunction with a Class Picker might verify that the Class picked implements a specific interface, and then provide an error message indicating that a Class does not implement that interface.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getInvalidValueMsg(java.lang.Object value)
Retrieve an error message detailing why the specified value
is invalid.
|
boolean |
isResultValid(java.lang.Object result)
Whether the specified browse result is a valid value.
|
boolean isResultValid(java.lang.Object result)
result - the value to validate.java.lang.String getInvalidValueMsg(java.lang.Object value)
value - the invalid value.