public class DigitsValidatorForCharSequence extends Object implements ConstraintValidator<Digits,CharSequence>
Constructor and Description |
---|
DigitsValidatorForCharSequence() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Digits constraintAnnotation) |
boolean |
isValid(CharSequence charSequence,
ConstraintValidatorContext constraintValidatorContext) |
public void initialize(Digits constraintAnnotation)
initialize
in interface ConstraintValidator<Digits,CharSequence>
public boolean isValid(CharSequence charSequence, ConstraintValidatorContext constraintValidatorContext)
isValid
in interface ConstraintValidator<Digits,CharSequence>
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved