public class JavetPrimitiveConverter extends BaseJavetConverter
config| Constructor and Description |
|---|
JavetPrimitiveConverter()
Instantiates a new Javet primitive converter.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
toObject(V8Value v8Value,
int depth)
To object with stack depth.
|
protected <T extends V8Value> |
toV8Value(V8Runtime v8Runtime,
java.lang.Object object,
int depth)
To V8 value with stack depth.
|
getConfig, setConfig, toObject, toV8Value, validateDepthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoObjectpublic JavetPrimitiveConverter()
protected <T> T toObject(V8Value v8Value, int depth) throws JavetException
BaseJavetConvertertoObject in class BaseJavetConverterT - the type parameterv8Value - the V8 valuedepth - the stack depthJavetException - the javet exception@CheckReturnValue protected <T extends V8Value> T toV8Value(V8Runtime v8Runtime, java.lang.Object object, int depth) throws JavetException
BaseJavetConvertertoV8Value in class BaseJavetConverterT - the type parameterv8Runtime - the V8 runtimeobject - the objectdepth - the stack depthJavetException - the javet exception