|
JNA API> 3.2.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NativeMapped
Provide conversion for a Java type to and from a native type.
Function
and Structure
will use this interface to determine
how to map a given Java object into a native type.
Implementations of this interface must provide a no-args constructor.
Method Summary | |
---|---|
java.lang.Object |
fromNative(java.lang.Object nativeValue,
FromNativeContext context)
Convert the given native object into its Java representation using the given context. |
java.lang.Class |
nativeType()
Indicate the native type used by this converter. |
java.lang.Object |
toNative()
Convert this object into a supported native type. |
Method Detail |
---|
java.lang.Object fromNative(java.lang.Object nativeValue, FromNativeContext context)
java.lang.Object toNative()
java.lang.Class nativeType()
|
JNA API> 3.2.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |