| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final Matcher | |
| private final Set | |
| private final boolean | |
| private final Set | |
| private final String | |
| private final Validator |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | ValidatedConversion(boolean nullable, boolean allowBlanks, String[] oneOf, String[] noneOf, String regexToMatch)
|
| public | ValidatedConversion(boolean nullable, boolean allowBlanks, String[] oneOf, String[] noneOf, String regexToMatch, Class<T>[] validators)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | execute(Object
the input of type I to be converted to an object of type O input)Implements com. |
| private Validator | |
| public Object | revert(Object
the input of type O to be converted to an object of type I input)Implements com. |
| protected void |
| allowBlanks | back to summary |
|---|---|
| private final boolean allowBlanks | |
| matcher | back to summary |
|---|---|
| private final Matcher matcher | |
| noneOf | back to summary |
|---|---|
| private final Set<String> noneOf | |
| nullable | back to summary |
|---|---|
| private final boolean nullable | |
| oneOf | back to summary |
|---|---|
| private final Set<String> oneOf | |
| regexToMatch | back to summary |
|---|---|
| private final String regexToMatch | |
| validators | back to summary |
|---|---|
| private final Validator<T>[] validators | |
| ValidatedConversion | back to summary |
|---|---|
| public ValidatedConversion() | |
| ValidatedConversion | back to summary |
|---|---|
| public ValidatedConversion(String regexToMatch) | |
| ValidatedConversion | back to summary |
|---|---|
| public ValidatedConversion(boolean nullable, boolean allowBlanks) | |
| ValidatedConversion | back to summary |
|---|---|
| public ValidatedConversion(boolean nullable, boolean allowBlanks, String[] oneOf, String[] noneOf, String regexToMatch) | |
| ValidatedConversion | back to summary |
|---|---|
| public ValidatedConversion(boolean nullable, boolean allowBlanks, String[] oneOf, String[] noneOf, String regexToMatch, Class<T>[] validators) | |
| execute | back to summary |
|---|---|
| public Object execute(Object input) Implements com. Doc from com. Converts a value of type I to a value of type O.
When used in conjunction with the | |
| instantiateValidators | back to summary |
|---|---|
| private Validator | |
| revert | back to summary |
|---|---|
| public Object revert(Object input) Implements com. Doc from com. Converts a value of type O to a value of type I.
When used in conjunction with the | |
| validate | back to summary |
|---|---|
| protected void validate(Object value) | |