public abstract class AbstractResultConverter extends Object implements ResultConverter
doConvert(Invocation, Object)| Constructor and Description |
|---|
AbstractResultConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Invocation invocation,
Object original)
Called when we need to convert the result
|
protected abstract Object |
doConvert(Invocation invocation,
Object original)
Called to invoke a conversion of the given value to the desired result value.
|
public Object convert(Invocation invocation, Object original)
ResultConverterconvert in interface ResultConverterinvocation - the invocation for which the conversion is happeningoriginal - the original valueprotected abstract Object doConvert(Invocation invocation, Object original)
invocation - the invocationoriginal - the original valueCopyright © 2014–2016. All rights reserved.