Class Validator<T>
java.lang.Object
org.jdesktop.beansbinding.Validator<T>
- Type Parameters:
T
- the type of value that this validator can validate
Validator
is responsible for validating the value from the target of
a Binding
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
An instance ofResult
is returned from aValidator's
validate
method to indicate an invalid value. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Validator
public Validator()
-
-
Method Details
-
validate
Validates a value; returnsnull
for a valid value, and aResult
object describing the problem for an invalid value.- Parameters:
value
- the value to validate, may benull
- Returns:
null
for a valid value or aResult
describing the problem for an invalid value
-