|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface defining Validators for AbstractPicker browse actions. The
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.
Method Summary | |
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. |
Method Detail |
public boolean isResultValid(java.lang.Object result)
result
- the value to validate.public java.lang.String getInvalidValueMsg(java.lang.Object value)
value
- the invalid value.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.