Annotation Type Normalized
@Documented
@Constraint(validatedBy={})
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Repeatable(List.class)
public @interface Normalized
Validate that a character sequence is of normalization form.
It is possible to validate a normalized value by setting the normalization strategy.
- Since:
- 6.1.6
- Author:
- Craig Andrews
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
Defines several@Normalized
annotations on the same element. -
Optional Element Summary
Optional Elements
-
Element Details
-
form
Normalizer.Form form- Default:
- NFC
-
message
String message- Default:
- "{org.hibernate.validator.constraints.Normalized.message}"
-
groups
Class<?>[] groups- Default:
- {}
-
payload
- Default:
- {}
-