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