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