Class AbstractSizeWithoutSeparatorsValidator<A extends Annotation>
- java.lang.Object
-
- de.knightsoftnet.validators.shared.impl.AbstractSizeWithoutSeparatorsValidator<A>
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<A,Object>
- Direct Known Subclasses:
AlternateSizeValidator,SizeWithoutSeparatorsValidator
public abstract class AbstractSizeWithoutSeparatorsValidator<A extends Annotation> extends Object implements javax.validation.ConstraintValidator<A,Object>
Check if a field's size has one of the two given sizes.- Author:
- Manfred Tremmel
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanignoreMinustrue if minus should be ignored.protected booleanignoreSlashestrue if slashes should be ignored.protected booleanignoreWhiteSpacestrue if whitespaces should be ignored.
-
Constructor Summary
Constructors Constructor Description AbstractSizeWithoutSeparatorsValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intstringSizeWithoutParameters(Object value)get string size without filtered parameters.
-
-
-
Method Detail
-
stringSizeWithoutParameters
protected int stringSizeWithoutParameters(Object value)
get string size without filtered parameters.- Parameters:
value- containing string- Returns:
- size without filtered parameters
-
-