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 digitsbooleanallowsLowercaseReturnstrueif the annotated element can contain lowercase lettersbooleanallowsUppercaseReturnstrueif the annotated element can contain uppercase lettersbooleanoffAllows disabling the validation rule if this rule is inherited from super class.StringpunctuationsReturns all supported punctuations
-
-
-
-
punctuations
String punctuations
Returns all supported punctuations- Returns:
- all supported punctuations
- Default:
- "~!@#$%^&*()_+=-[]{},.;:<>?/\\\"\' \t|\r\n"
-
-