Module rxmicro.validation
Package io.rxmicro.validation.constraint
Annotation Type LatinAlphabetOnly
-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes=java.lang.String.class, validatorClass=LatinAlphabetOnlyConstraintValidator.class) @SelfDocumented public @interface LatinAlphabetOnly
The annotated element must be a string with latin alphabet letters only.- Since:
- 0.1
- Author:
- nedis
- See Also:
LatinAlphabetOnlyConstraintValidator
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanallowsDigitsReturnstrueif the annotated element can contain digits.booleanallowsLowercaseReturnstrueif the annotated element can contain lowercase letters.booleanallowsUppercaseReturnstrueif the annotated element can contain uppercase letters.booleanoffAllows disabling the validation rule if this rule is inherited from super class.StringpunctuationsReturns all supported punctuation characters.
-
-
-
-
punctuations
String punctuations
Returns all supported punctuation characters.- Returns:
- all supported punctuation characters
- Default:
- "~!@#$%^&*()_+=-[]{},.;:<>?/\\\"\' \t|\r\n\b"
-
-