Rule implementation.
Filtering on the to is done by the converter customization
mechanism.
| Modifier and Type | Field and Description |
|---|---|
| private final ConverterFunction |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ConverterFunction | getFunction()
Implements org. The function to perform the conversion. |
| private ConverterFunction | |
| public Type | getTargetType()
Implements org. The target type of this rule. |
| function | back to summary |
|---|---|
| private final ConverterFunction function | |
| Rule | back to summary |
|---|---|
| public Rule(Function<F, T> func) Create an instance with a conversion function.
| |
| getFunction | back to summary |
|---|---|
| public ConverterFunction getFunction() Implements org. Doc from org. The function to perform the conversion.
| |
| getGenericFunction | back to summary |
|---|---|
| private ConverterFunction getGenericFunction(final Function<F, T> func) | |
| getTargetType | back to summary |
|---|---|
| public Type getTargetType() Implements org. Doc from org. The target type of this rule. The conversion function is invoked for each conversion to the target type. | |