It is possible to validate a normalized value by setting the normalization strategy.
| Modifier and Type | Class and Description |
|---|---|
| public static @interface | CodePointLength.List
Defines several |
| public static enum | CodePointLength.NormalizationStrategy
Strategy for normalization. |
| Modifier and Type | Method and Description |
|---|---|
| public Class | |
| public int | |
| public String | |
| public int | |
| public CodePointLength. | |
| public Class |
| groups | back to summary |
|---|---|
| public Class | |
| max | back to summary |
|---|---|
| public int max() | |
| message | back to summary |
|---|---|
| public String message() | |
| min | back to summary |
|---|---|
| public int min() | |
| normalizationStrategy | back to summary |
|---|---|
| public CodePointLength. | |
| payload | back to summary |
|---|---|
| public Class | |
@CodePointLength annotations on the same element.
| Modifier and Type | Method and Description |
|---|---|
| public CodePointLength[] |
| value | back to summary |
|---|---|
| public CodePointLength[] value() | |
Normalizer, Normalizer.Form
| Modifier and Type | Field and Description |
|---|---|
| private final Normalizer. | |
| public static final CodePointLength. | NFC
Normalization by canonical decomposition, followed by canonical composition. |
| public static final CodePointLength. | NFD
Normalization by canonical decomposition. |
| public static final CodePointLength. | NFKC
Normalization by compatibility decomposition, followed by canonical composition. |
| public static final CodePointLength. | NFKD
Normalization by compatibility decomposition. |
| public static final CodePointLength. | NONE
No normalization. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public CharSequence | Returns: normalized valuetarget value value)Normalize a specified character sequence. |
| public static CodePointLength. | |
| public static CodePointLength. |
| form | back to summary |
|---|---|
| private final Normalizer. | |
| NFC | back to summary |
|---|---|
| public static final CodePointLength. Normalization by canonical decomposition, followed by canonical composition. | |
| NFD | back to summary |
|---|---|
| public static final CodePointLength. Normalization by canonical decomposition. | |
| NFKC | back to summary |
|---|---|
| public static final CodePointLength. Normalization by compatibility decomposition, followed by canonical composition. | |
| NFKD | back to summary |
|---|---|
| public static final CodePointLength. Normalization by compatibility decomposition. | |
| NONE | back to summary |
|---|---|
| public static final CodePointLength. No normalization. | |
| NormalizationStrategy | back to summary |
|---|---|
| private NormalizationStrategy(Normalizer. | |
| normalize | back to summary |
|---|---|
| public CharSequence normalize(CharSequence value) Normalize a specified character sequence.
| |
| valueOf | back to summary |
|---|---|
| public static CodePointLength. | |
| values | back to summary |
|---|---|
| public static CodePointLength. | |