public class LengthRule extends AnnotationRule<Length,java.lang.String>
mRuleAnnotation| Modifier | Constructor and Description |
|---|---|
protected |
LengthRule(Length length) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(java.lang.String text)
Checks if the rule is valid.
|
getMessagegetSequence