public class BindInterceptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
DEFAULT
Indicates that the conversion should proceed as it normally does,
and that the listener isn't replacing the process.
|
static BindInterceptor |
NOOP
Default
BindInterceptor that does nothing. |
Constructor and Description |
---|
BindInterceptor() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
onConvert(java.lang.reflect.Type targetType,
java.lang.Class targetTypeErasure,
java.lang.Object jsonSource)
Called for each object conversion.
|
public static final java.lang.Object DEFAULT
public static final BindInterceptor NOOP
BindInterceptor
that does nothing.public java.lang.Object onConvert(java.lang.reflect.Type targetType, java.lang.Class targetTypeErasure, java.lang.Object jsonSource)
DEFAULT
to indicate that the default conversion process should proceed.
Any other values (including null) will override the process.Copyright © 2013. All Rights Reserved.