
public class RegExpValidator extends Object implements ConfigurationValidator
| Constructor and Description |
|---|
RegExpValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(ConfigOptionRegistry registry,
Value value)
Checks if the value is valid.
|
void |
setAttributes(String[] attributes)
This method is used to set the attributes which where defined in the
configuration definition.
|
void |
validate(ConfigOptionRegistry registry,
Value value)
Does the same as the isValid method but is able to thow an exception with
an error message.
|
public boolean isValid(ConfigOptionRegistry registry, Value value)
ConfigurationValidatorisValid in interface ConfigurationValidatorpublic void validate(ConfigOptionRegistry registry, Value value) throws ValidationException
ConfigurationValidatorvalidate in interface ConfigurationValidatorValidationExceptionpublic void setAttributes(String[] attributes)
ConfigurationValidatorsetAttributes in interface ConfigurationValidatorCopyright © 2018 universAAL Consortium. All rights reserved.