public final class V8ValueGlobalObject extends V8ValueObject
ERROR_THE_KEY_VALUE_PAIR_MUST_MATCH, FUNCTION_ADD, FUNCTION_DELETE, FUNCTION_GET, FUNCTION_HAS, FUNCTION_SET, METHOD_PREFIX_GET, METHOD_PREFIX_IS, METHOD_PREFIX_SET, PROPERTY_PROTOTYPE
handle, INVALID_HANDLE, weak
OBJECT_CONVERTER, v8Runtime
DEFAULT_BATCH_SIZE, MIN_BATCH_SIZE
Modifier and Type | Method and Description |
---|---|
protected void |
addReference() |
void |
clearWeak() |
void |
close(boolean forceClose) |
V8ValueBuiltInJson |
getBuiltInJson()
Gets built-in JSON.
|
V8ValueBuiltInObject |
getBuiltInObject()
Gets built-in Object.
|
V8ValueBuiltInPromise |
getBuiltInPromise()
Gets built-in Promise.
|
V8ValueBuiltInReflect |
getBuiltInReflect()
Gets built-in Reflect.
|
V8ValueBuiltInSymbol |
getBuiltInSymbol()
Gets built-in Symbol.
|
boolean |
isWeak() |
protected void |
removeReference() |
void |
setWeak() |
V8ValueGlobalObject |
toClone(boolean referenceCopy)
Get a clone of the current V8 value.
|
batchGet, bind, bindFunction, bindProperty, delete, deletePrivateProperty, forEach, forEach, get, getBoolean, getDouble, getIdentityHash, getInteger, getLong, getOwnPropertyNames, getPrivateProperty, getProperty, getPropertyNames, getPrototype, getString, getType, has, hasInternalType, hasOwnProperty, hasPrivateProperty, invokeExtended, invokeExtended, sameValue, set, set, setBoolean, setDouble, setInteger, setLong, setNull, setPrivateProperty, setProperty, setPrototype, setString, setUndefined, strictEquals, toJsonString, toProtoString, unbind, unbindFunction, unbindProperty, unbindProperty, unbindProperty, unbindProperty
checkV8Runtime, close, equals, getHandle, isClosed, isWeak, toString
getV8Runtime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bindFunction, bindFunction, bindProperty, deleteNull, deleteUndefined, forEach, forEach, forEach, forEach, forEach, forEach, getBigInteger, getFloat, getNull, getObject, getOwnPropertyNameStrings, getPrivatePropertyBoolean, getPrivatePropertyDouble, getPrivatePropertyFloat, getPrivatePropertyInteger, getPrivatePropertyLong, getPrivatePropertyNull, getPrivatePropertyObject, getPrivatePropertyPrimitive, getPrivatePropertyString, getPrivatePropertyUndefined, getPrivatePropertyZonedDateTime, getPropertyBoolean, getPropertyDouble, getPropertyFloat, getPropertyInteger, getPropertyLong, getPropertyObject, getPropertyPrimitive, getPropertyString, getPropertyZonedDateTime, getUndefined, getZonedDateTime, hasNull, hasUndefined, invoke, invoke, invokeBigInteger, invokeBoolean, invokeDouble, invokeFloat, invokeInteger, invokeLong, invokeObject, invokeString, invokeVoid, invokeVoid, invokeZonedDateTime, isGeneratorObject, setPrivatePropertyNull, setPrivatePropertyUndefined, setPropertyNull, setPropertyUndefined, unbindFunction, unbindFunction, unbindFunction, unbindProperty
getHandle, isClosed, isWeak
asBoolean, asDouble, asInt, asLong, asString, equals, getV8Runtime, isNull, isNullOrUndefined, isUndefined
close
toClone
protected void addReference()
addReference
in class V8ValueReference
public void clearWeak()
clearWeak
in interface IV8ValueReference
clearWeak
in class V8ValueReference
public void close(boolean forceClose) throws JavetException
close
in interface IV8ValueReference
close
in class V8ValueReference
JavetException
@CheckReturnValue public V8ValueBuiltInJson getBuiltInJson() throws JavetException
JavetException
- the javet exception@CheckReturnValue public V8ValueBuiltInObject getBuiltInObject() throws JavetException
JavetException
- the javet exception@CheckReturnValue public V8ValueBuiltInPromise getBuiltInPromise() throws JavetException
JavetException
- the javet exception@CheckReturnValue public V8ValueBuiltInReflect getBuiltInReflect() throws JavetException
JavetException
- the javet exception@CheckReturnValue public V8ValueBuiltInSymbol getBuiltInSymbol() throws JavetException
JavetException
- the javet exceptionpublic boolean isWeak()
isWeak
in interface IV8ValueReference
isWeak
in class V8ValueReference
protected void removeReference()
removeReference
in class V8ValueReference
public void setWeak()
setWeak
in interface IV8ValueReference
setWeak
in class V8ValueReference
public V8ValueGlobalObject toClone(boolean referenceCopy)
IV8Cloneable
toClone
in interface IV8Cloneable
toClone
in class V8ValueReference
referenceCopy
- the reference copy