Constructor and Description |
---|
ValidValidator()
Creates a new validator using the default engine to validate the values.
|
ValidValidator(ValidationEngine engine)
Creates a new validator using the given engine to validate the values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(java.lang.Object value)
Validates the value according to the constraints defined by this validator.
|
public ValidValidator()
public ValidValidator(ValidationEngine engine)
engine
- the engine to validate the values