public class RhinoJsObject extends org.mozilla.javascript.ScriptableObject implements IJsObject
Modifier and Type | Field and Description |
---|---|
protected static RhinoJsObject |
rhinoJsObject |
Constructor and Description |
---|
RhinoJsObject(IJsObject parent) |
RhinoJsObject(String className) |
Modifier and Type | Method and Description |
---|---|
void |
defineConstantProperty(String key, Object value) |
void |
defineProperty(String key, Object value) |
Object |
evaluateScript(ScriptString script) |
Object |
evaluateScript(String script) |
String |
getClassName() |
Object |
getDefaultValue(Class aClass) |
Object |
getOwnProperty(String key) |
Object |
getProperty(String key) |
String |
getStringProperty(String key) |
boolean |
isUndefined(Object obj) |
static Object |
unwrap(Object value) |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
protected static final RhinoJsObject rhinoJsObject
public RhinoJsObject(String className)
public RhinoJsObject(IJsObject parent)
public String getClassName()
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class org.mozilla.javascript.ScriptableObject
public void defineProperty(String key, Object value)
defineProperty
in interface IJsObject
public void defineConstantProperty(String key, Object value)
defineConstantProperty
in interface IJsObject
public Object getOwnProperty(String key)
getOwnProperty
in interface IJsObject
public Object getProperty(String key)
getProperty
in interface IJsObject
public Object evaluateScript(ScriptString script) throws Exception
Exception
public Object evaluateScript(String script) throws Exception
evaluateScript
in interface IJsObject
Exception
public boolean isUndefined(Object obj)
isUndefined
in interface IJsObject
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.