| Modifier and Type | Field and Description |
|---|---|
| private int | checkDigitIndex
The index of the checksum digit |
| private static final int | |
| private int | endIndex
The end index for the checksum calculation |
| private boolean | |
| private static final Log | |
| private static final Pattern | |
| private int | startIndex
The start index for the checksum calculation |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private char | |
| protected int | Returns: the numericint value represented by the character.the input value)char to be parsedReturns the numeric |
| private List | Returns: List ofInteger objects.the input string to be parsed value) |
| private String | |
| protected void | |
| public abstract boolean | |
| public boolean | |
| private String | |
| private boolean |
| checkDigitIndex | back to summary |
|---|---|
| private int checkDigitIndex The index of the checksum digit | |
| DEC_RADIX | back to summary |
|---|---|
| private static final int DEC_RADIX | |
| endIndex | back to summary |
|---|---|
| private int endIndex The end index for the checksum calculation | |
| ignoreNonDigitCharacters | back to summary |
|---|---|
| private boolean ignoreNonDigitCharacters | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| NUMBERS_ONLY_REGEXP | back to summary |
|---|---|
| private static final Pattern NUMBERS_ONLY_REGEXP | |
| startIndex | back to summary |
|---|---|
| private int startIndex The start index for the checksum calculation | |
| ModCheckBase | back to summary |
|---|---|
| public ModCheckBase() | |
| extractCheckDigit | back to summary |
|---|---|
| private char extractCheckDigit(String value) throws IndexOutOfBoundsException | |
| extractDigit | back to summary |
|---|---|
| protected int extractDigit(char value) throws NumberFormatException Returns the numeric
| |
| extractDigits | back to summary |
|---|---|
| private List Parses the
| |
| extractVerificationString | back to summary |
|---|---|
| private String extractVerificationString(String value) throws IndexOutOfBoundsException | |
| initialize | back to summary |
|---|---|
| protected void initialize(int startIndex, int endIndex, int checkDigitIndex, boolean ignoreNonDigitCharacters) | |
| isCheckDigitValid | back to summary |
|---|---|
| public abstract boolean isCheckDigitValid(List<Integer> digits, char checkDigit) | |
| isValid | back to summary |
|---|---|
| public boolean isValid(final CharSequence value, final ConstraintValidatorContext context) | |
| stripNonDigitsIfRequired | back to summary |
|---|---|
| private String stripNonDigitsIfRequired(String value) | |
| validateOptions | back to summary |
|---|---|
| private boolean validateOptions() | |