public class FloatParserValidator extends RangeParserValidator<Float>
Modifier and Type | Field and Description |
---|---|
static String |
FLOAT_TYPE |
protected static String |
FLOAT_TYPE_REGEXP |
LEFT_RANGE_DELIMITER, LEFT_RANGE_DELIMITER_REGEXP, RANGE_MAIN_REGEXP, RIGHT_RANGE_DELIMITER, RIGHT_RANGE_DELIMITER_REGEXP
model
Constructor and Description |
---|
FloatParserValidator(String model) |
Modifier and Type | Method and Description |
---|---|
protected Converter<Float> |
createConverter(String model)
Create a converter used by this parser
|
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.
|
createValidator, extractRange
parseAndGetOneGroup, parseAndGetRegexGroups, parseAndValidate, parseAndValidate
public static final String FLOAT_TYPE
protected static final String FLOAT_TYPE_REGEXP
public FloatParserValidator(String model) throws ModelSyntaxException
ModelSyntaxException
public String getType()
BaseParserValidator
getType
in class BaseParserValidator<Float>
public String getTypeRegexp()
BaseParserValidator
getTypeRegexp
in class BaseParserValidator<Float>
public Class getClassType()
BaseParserValidator
getClassType
in class BaseParserValidator<Float>
protected Converter<Float> createConverter(String model) throws ModelSyntaxException
BaseParserValidator
createConverter
in class BaseParserValidator<Float>
model
- model used to create the converterModelSyntaxException