public abstract class NativeDataConverter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
postInvokeRequired |
private boolean |
referenceRequired |
| Constructor and Description |
|---|
NativeDataConverter() |
NativeDataConverter(boolean referenceRequired,
boolean postInvokeRequired) |
| Modifier and Type | Method and Description |
|---|---|
abstract IRubyObject |
fromNative(ThreadContext context,
IRubyObject obj) |
boolean |
isPostInvokeRequired() |
boolean |
isReferenceRequired() |
abstract NativeType |
nativeType() |
abstract IRubyObject |
toNative(ThreadContext context,
IRubyObject obj) |
private final boolean referenceRequired
private final boolean postInvokeRequired
public NativeDataConverter()
public NativeDataConverter(boolean referenceRequired,
boolean postInvokeRequired)
public final boolean isReferenceRequired()
public final boolean isPostInvokeRequired()
public abstract IRubyObject fromNative(ThreadContext context, IRubyObject obj)
public abstract IRubyObject toNative(ThreadContext context, IRubyObject obj)
public abstract NativeType nativeType()