public interface ParserValidator<T>
Modifier and Type | Method and Description |
---|---|
T |
parseAndValidate(String parameterValue)
Parses/converts and validate the given value
|
T |
parseAndValidate(String parameterValue,
ModelValidatorContext context)
Parses/converts and validate the given value
|
T parseAndValidate(String parameterValue) throws ConversionException, ValidationException, ModelSyntaxException
parameterValue
- value to parse and validateConversionException
- if an error occurred during the conversionValidationException
- if an error occurred during the validationModelSyntaxException
T parseAndValidate(String parameterValue, ModelValidatorContext context) throws ConversionException, ValidationException, ModelSyntaxException
parameterValue
- value to parse and validatecontext
- a context for this validationConversionException
- if an error occurred during the conversionValidationException
- if an error occurred during the validationModelSyntaxException