public interface IV8Creatable
Modifier and Type | Method and Description |
---|---|
V8Module |
createV8Module(java.lang.String moduleName,
IV8ValueObject iV8ValueObject)
Create a V8 synthetic module.
|
V8ValueArray |
createV8ValueArray()
Create V8 value array.
|
V8ValueArrayBuffer |
createV8ValueArrayBuffer(java.nio.ByteBuffer byteBuffer)
Create V8 value array buffer from a native byte buffer.
|
V8ValueArrayBuffer |
createV8ValueArrayBuffer(int length)
Create V8 value array buffer from a given length.
|
V8ValueBigInteger |
createV8ValueBigInteger(java.math.BigInteger bigInteger)
Create V8 value big integer.
|
V8ValueBigInteger |
createV8ValueBigInteger(java.lang.String bigIntegerValue)
Create V8 value big integer.
|
V8ValueBoolean |
createV8ValueBoolean(boolean booleanValue)
Create V8 value boolean.
|
V8ValueBooleanObject |
createV8ValueBooleanObject(boolean booleanValue)
Create V8 value boolean object.
|
V8ValueDataView |
createV8ValueDataView(V8ValueArrayBuffer v8ValueArrayBuffer)
Create V8 value data view.
|
V8ValueDouble |
createV8ValueDouble(double doubleValue)
Create V8 value double.
|
V8ValueDoubleObject |
createV8ValueDoubleObject(double doubleValue)
Create V8 value double object.
|
V8ValueError |
createV8ValueError(V8ValueErrorType v8ValueErrorType,
java.lang.String message)
Create V8 value error by type and message.
|
V8ValueFunction |
createV8ValueFunction(JavetCallbackContext javetCallbackContext)
Create V8 value function.
|
V8ValueFunction |
createV8ValueFunction(java.lang.String codeString)
Create V8 value function.
|
V8ValueInteger |
createV8ValueInteger(int integerValue)
Create V8 value integer.
|
V8ValueIntegerObject |
createV8ValueIntegerObject(int intValue)
Create V8 value int object.
|
V8ValueLong |
createV8ValueLong(long longValue)
Create V8 value long.
|
V8ValueLongObject |
createV8ValueLongObject(long longValue)
Create V8 value long object.
|
V8ValueMap |
createV8ValueMap()
Create V8 value map.
|
V8ValueNull |
createV8ValueNull()
Create V8 value null.
|
V8ValueObject |
createV8ValueObject()
Create V8 value object.
|
V8ValuePromise |
createV8ValuePromise()
Create V8 value promise.
|
default V8ValueProxy |
createV8ValueProxy()
Create V8 value proxy.
|
V8ValueProxy |
createV8ValueProxy(V8Value v8Value)
Create V8 value proxy.
|
V8ValueSet |
createV8ValueSet()
Create V8 value set.
|
V8ValueString |
createV8ValueString(java.lang.String str)
Create V8 value string.
|
V8ValueStringObject |
createV8ValueStringObject(java.lang.String str)
Create V8 value string object from string.
|
default V8ValueSymbol |
createV8ValueSymbol(java.lang.String description)
Create V8 value symbol.
|
V8ValueSymbol |
createV8ValueSymbol(java.lang.String description,
boolean global)
Create V8 value symbol.
|
V8ValueTypedArray |
createV8ValueTypedArray(V8ValueReferenceType type,
int length)
Create V8 value typed array.
|
V8ValueUndefined |
createV8ValueUndefined()
Create V8 value undefined.
|
V8ValueZonedDateTime |
createV8ValueZonedDateTime(long jsTimestamp)
Create V8 value zoned date time.
|
V8ValueZonedDateTime |
createV8ValueZonedDateTime(java.time.ZonedDateTime zonedDateTime)
Create V8 value zoned date time.
|
@CheckReturnValue V8Module createV8Module(java.lang.String moduleName, IV8ValueObject iV8ValueObject) throws JavetException
moduleName
- the module nameiV8ValueObject
- the V8 value object to be exportedJavetException
- the javet exception@CheckReturnValue V8ValueArray createV8ValueArray() throws JavetException
JavetException
- the javet exception@CheckReturnValue V8ValueArrayBuffer createV8ValueArrayBuffer(int length) throws JavetException
length
- the lengthJavetException
- the javet exception@CheckReturnValue V8ValueArrayBuffer createV8ValueArrayBuffer(java.nio.ByteBuffer byteBuffer) throws JavetException
byteBuffer
- the byte bufferJavetException
- the javet exceptionV8ValueBigInteger createV8ValueBigInteger(java.math.BigInteger bigInteger) throws JavetException
bigInteger
- the big integerJavetException
- the javet exceptionV8ValueBigInteger createV8ValueBigInteger(java.lang.String bigIntegerValue) throws JavetException
bigIntegerValue
- the big integer valueJavetException
- the javet exceptionV8ValueBoolean createV8ValueBoolean(boolean booleanValue) throws JavetException
booleanValue
- the boolean valueJavetException
- the javet exceptionV8ValueBooleanObject createV8ValueBooleanObject(boolean booleanValue) throws JavetException
booleanValue
- the boolean valueJavetException
- the javet exception@CheckReturnValue V8ValueDataView createV8ValueDataView(V8ValueArrayBuffer v8ValueArrayBuffer) throws JavetException
v8ValueArrayBuffer
- the V8 value array bufferJavetException
- the javet exceptionV8ValueDouble createV8ValueDouble(double doubleValue) throws JavetException
doubleValue
- the double valueJavetException
- the javet exceptionV8ValueDoubleObject createV8ValueDoubleObject(double doubleValue) throws JavetException
doubleValue
- the double valueJavetException
- the javet exception@CheckReturnValue V8ValueError createV8ValueError(V8ValueErrorType v8ValueErrorType, java.lang.String message) throws JavetException
v8ValueErrorType
- the V8 value error typemessage
- the messageJavetException
- the javet exception@CheckReturnValue V8ValueFunction createV8ValueFunction(JavetCallbackContext javetCallbackContext) throws JavetException
javetCallbackContext
- the javet callback contextJavetException
- the javet exception@CheckReturnValue V8ValueFunction createV8ValueFunction(java.lang.String codeString) throws JavetException
codeString
- the code stringJavetException
- the javet exceptionV8ValueInteger createV8ValueInteger(int integerValue) throws JavetException
integerValue
- the integer valueJavetException
- the javet exceptionV8ValueIntegerObject createV8ValueIntegerObject(int intValue) throws JavetException
intValue
- the int valueJavetException
- the javet exceptionV8ValueLong createV8ValueLong(long longValue) throws JavetException
longValue
- the long valueJavetException
- the javet exceptionV8ValueLongObject createV8ValueLongObject(long longValue) throws JavetException
longValue
- the long valueJavetException
- the javet exception@CheckReturnValue V8ValueMap createV8ValueMap() throws JavetException
JavetException
- the javet exceptionV8ValueNull createV8ValueNull()
@CheckReturnValue V8ValueObject createV8ValueObject() throws JavetException
JavetException
- the javet exception@CheckReturnValue V8ValuePromise createV8ValuePromise() throws JavetException
JavetException
- the javet exception@CheckReturnValue default V8ValueProxy createV8ValueProxy() throws JavetException
JavetException
- the javet exception@CheckReturnValue V8ValueProxy createV8ValueProxy(V8Value v8Value) throws JavetException
v8Value
- the V8 valueJavetException
- the javet exception@CheckReturnValue V8ValueSet createV8ValueSet() throws JavetException
JavetException
- the javet exceptionV8ValueString createV8ValueString(java.lang.String str) throws JavetException
str
- the strJavetException
- the javet exceptionV8ValueStringObject createV8ValueStringObject(java.lang.String str) throws JavetException
str
- the strJavetException
- the javet exception@CheckReturnValue default V8ValueSymbol createV8ValueSymbol(java.lang.String description) throws JavetException
description
- the descriptionJavetException
- the javet exception@CheckReturnValue V8ValueSymbol createV8ValueSymbol(java.lang.String description, boolean global) throws JavetException
description
- the descriptionglobal
- the globalJavetException
- the javet exception@CheckReturnValue V8ValueTypedArray createV8ValueTypedArray(V8ValueReferenceType type, int length) throws JavetException
type
- the typelength
- the lengthJavetException
- the javet exceptionV8ValueUndefined createV8ValueUndefined()
V8ValueZonedDateTime createV8ValueZonedDateTime(long jsTimestamp) throws JavetException
jsTimestamp
- the js timestampJavetException
- the javet exceptionV8ValueZonedDateTime createV8ValueZonedDateTime(java.time.ZonedDateTime zonedDateTime) throws JavetException
zonedDateTime
- the zoned date timeJavetException
- the javet exception