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