public class OptionalParserValidator<T> extends BaseParserValidator<T>
LEFT_PARAM_DELIMITER, model, PARAMETER_REGEXP, RIGHT_PARAM_DELIMITER, type, typeRegexp
Constructor and Description |
---|
OptionalParserValidator(String model,
ModelType type) |
Modifier and Type | Method and Description |
---|---|
protected Converter<T> |
createConverter(String model)
Create a converter used by this parser
|
protected Validator<T> |
createValidator(String model,
Converter<T> converter)
Create a validator used by this parser, using eventually a converter
|
getClassType, ignoreCaseQuotedRegexp, ignoreCaseRegexp, parseAndGetOneGroup, parseAndGetRegexGroups, parseAndValidate, parseAndValidate
public OptionalParserValidator(String model, ModelType type) throws ModelSyntaxException
ModelSyntaxException
protected Converter<T> createConverter(String model) throws ModelSyntaxException
BaseParserValidator
createConverter
in class BaseParserValidator<T>
model
- model used to create the converterModelSyntaxException
protected Validator<T> createValidator(String model, Converter<T> converter) throws ModelSyntaxException
BaseParserValidator
createValidator
in class BaseParserValidator<T>
model
- model used to create the validatorconverter
- converter eventually used to create the validatorModelSyntaxException