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, validateDepth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toObject
public JavetPrimitiveConverter()
protected <T> T toObject(V8Value v8Value, int depth) throws JavetException
BaseJavetConverter
toObject
in class BaseJavetConverter
T
- 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
BaseJavetConverter
toV8Value
in class BaseJavetConverter
T
- the type parameterv8Runtime
- the V8 runtimeobject
- the objectdepth
- the stack depthJavetException
- the javet exception