public class HtmlUnitScriptable
extends net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
Constructor and Description |
---|
HtmlUnitScriptable() |
Modifier and Type | Method and Description |
---|---|
void |
defineFunctionProperties(String[] names,
Class<?> clazz,
int attributes)
Same as base implementation, but includes all methods inherited from super classes as well.
|
void |
defineProperty(String propertyName,
Class<?> clazz,
int attributes)
Same as base implementation, but includes all methods inherited from super classes as well.
|
String |
getClassName()
Returns the JavaScript class name.
|
Object |
getDefaultValue(Class<?> typeHint) |
void |
setClassName(String className)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Sets the class name. |
void |
setParentScope(net.sourceforge.htmlunit.corejs.javascript.Scriptable m) |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, 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, isReadOnlySettable, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, size
public String getClassName()
getClassName
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
getClassName
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public void setClassName(String className)
className
- the class name.public void defineProperty(String propertyName, Class<?> clazz, int attributes)
defineProperty
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public void defineFunctionProperties(String[] names, Class<?> clazz, int attributes)
defineFunctionProperties
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public void setParentScope(net.sourceforge.htmlunit.corejs.javascript.Scriptable m)
setParentScope
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
setParentScope
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
Copyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.