public class JavetBridgeConverter extends JavetProxyConverter
The only exception is Java Array is converted to the JS array.
Modifier and Type | Field and Description |
---|---|
protected static IClassProxyPlugin[] |
DEFAULT_PROXY_PLUGINS
The constant DEFAULT_PROXY_PLUGINS.
|
DUMMY_FUNCTION_STRING
customObjectMap, EXECUTABLE_INDEX_DEFAULT_CONSTRUCTOR, EXECUTABLE_INDEX_FROM_MAP, EXECUTABLE_INDEX_TO_MAP, METHOD_NAME_FROM_MAP, METHOD_NAME_TO_MAP, OBJECT_CONVERTER, PRIVATE_PROPERTY_CUSTOM_OBJECT_CLASS_NAME, PRIVATE_PROPERTY_PROXY_TARGET, PROPERTY_NAME, PUBLIC_PROPERTY_CONSTRUCTOR
config
Constructor and Description |
---|
JavetBridgeConverter()
Instantiates a new Javet bridge converter.
|
Modifier and Type | Method and Description |
---|---|
protected <T extends V8Value> |
toV8Value(V8Runtime v8Runtime,
java.lang.Object object,
int depth)
To V8 value with stack depth.
|
toProxiedV8Value
createEntityFunction, createEntityMap, registerCustomObject, registerCustomObject, toObject, unregisterCustomObject
getConfig, setConfig, toObject, toV8Value, validateDepth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toObject
protected static final IClassProxyPlugin[] DEFAULT_PROXY_PLUGINS
public JavetBridgeConverter()
@CheckReturnValue protected <T extends V8Value> T toV8Value(V8Runtime v8Runtime, java.lang.Object object, int depth) throws JavetException
BaseJavetConverter
toV8Value
in class JavetProxyConverter
T
- the type parameterv8Runtime
- the V8 runtimeobject
- the objectdepth
- the stack depthJavetException
- the javet exception