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