public class NativeMappedConverter extends Object implements TypeConverter
NativeMapped.| Constructor and Description |
|---|
NativeMappedConverter(Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
NativeMapped |
defaultValue() |
Object |
fromNative(Object nativeValue,
FromNativeContext context)
Convert the given native object into its Java representation using
the given context.
|
static NativeMappedConverter |
getInstance(Class<?> cls) |
Class<?> |
nativeType()
Indicate the native type used by this converter.
|
Object |
toNative(Object value,
ToNativeContext context)
Convert a Java type to an appropriate native type.
|
public NativeMappedConverter(Class<?> type)
public static NativeMappedConverter getInstance(Class<?> cls)
public NativeMapped defaultValue()
public Object fromNative(Object nativeValue, FromNativeContext context)
FromNativeConverterfromNative in interface FromNativeConverterpublic Class<?> nativeType()
FromNativeConverternativeType in interface FromNativeConverternativeType in interface ToNativeConverterpublic Object toNative(Object value, ToNativeContext context)
ToNativeConverterPointer
NativeLong
Structure
WString
Buffer (unsupported in direct mode)
toNative in interface ToNativeConverter