public class CatalogObjectParserValidator extends BaseParserValidator<String>
Modifier and Type | Field and Description |
---|---|
static String |
CATALOG_OBJECT_TYPE |
static String |
CATALOG_OBJECT_TYPE_REGEXP |
model
Constructor and Description |
---|
CatalogObjectParserValidator(String model) |
Modifier and Type | Method and Description |
---|---|
protected Converter<String> |
createConverter(String model)
Create a converter used by this parser
|
protected Validator<String> |
createValidator(String model,
Converter<String> converter)
Create a validator used by this parser, using eventually a converter
|
protected Class |
getClassType()
Returns the class used by this parser to convert string parameter values.
|
protected String |
getType()
Return the name of the parser type
|
protected String |
getTypeRegexp()
Returns a model regexp able to match the parser type.
|
parseAndGetOneGroup, parseAndGetRegexGroups, parseAndValidate, parseAndValidate
public static final String CATALOG_OBJECT_TYPE
public static final String CATALOG_OBJECT_TYPE_REGEXP
public CatalogObjectParserValidator(String model) throws ModelSyntaxException
ModelSyntaxException
protected String getType()
BaseParserValidator
getType
in class BaseParserValidator<String>
protected String getTypeRegexp()
BaseParserValidator
getTypeRegexp
in class BaseParserValidator<String>
protected Class getClassType()
BaseParserValidator
getClassType
in class BaseParserValidator<String>
protected Converter<String> createConverter(String model) throws ModelSyntaxException
BaseParserValidator
createConverter
in class BaseParserValidator<String>
model
- model used to create the converterModelSyntaxException
protected Validator<String> createValidator(String model, Converter<String> converter) throws ModelSyntaxException
BaseParserValidator
createValidator
in class BaseParserValidator<String>
model
- model used to create the validatorconverter
- converter eventually used to create the validatorModelSyntaxException