Constructor and Description |
---|
MultiValidator() |
MultiValidator(List<Validator> validators) |
Modifier and Type | Method and Description |
---|---|
void |
addValidator(Validator validator) |
Validator[] |
getValidators() |
void |
removeValidator(Validator validator) |
void |
validateValue(Property property,
Object value)
Validates a value with respect to a provided property.
|
public Validator[] getValidators()
public void addValidator(Validator validator)
public void removeValidator(Validator validator)
public void validateValue(Property property, Object value) throws ValidationException
Validator
validateValue
in interface Validator
property
- The property.value
- The value to be validated.ValidationException
- If validation fails.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.