public class BicValidator extends java.lang.Object implements javax.validation.ConstraintValidator<BicConstraint,java.lang.String>
for implementation details
Constructor and Description |
---|
BicValidator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(BicConstraint bic) |
boolean |
isValid(java.lang.String bic,
javax.validation.ConstraintValidatorContext context) |
public void initialize(BicConstraint bic)
initialize
in interface javax.validation.ConstraintValidator<BicConstraint,java.lang.String>
public boolean isValid(java.lang.String bic, javax.validation.ConstraintValidatorContext context)
isValid
in interface javax.validation.ConstraintValidator<BicConstraint,java.lang.String>