Package org.eclipse.birt.core.script
Class ScriptableParameter
- java.lang.Object
-
- org.eclipse.birt.core.script.BaseScriptable
-
- org.eclipse.birt.core.script.ScriptableParameter
-
- All Implemented Interfaces:
org.mozilla.javascript.Scriptable,org.mozilla.javascript.Wrapper
public class ScriptableParameter extends BaseScriptable implements org.mozilla.javascript.Wrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScriptableParameter.JsValueCallable
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFIELD_DISPLAY_TEXTstatic java.lang.StringFIELD_VALUE
-
Constructor Summary
Constructors Constructor Description ScriptableParameter(java.util.Map parameters, java.lang.String parameterName, org.mozilla.javascript.Scriptable parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget(java.lang.String name, org.mozilla.javascript.Scriptable scope)java.lang.StringgetClassName()java.lang.ObjectgetDefaultValue(java.lang.Class hint)booleanhas(java.lang.String name, org.mozilla.javascript.Scriptable scope)voidput(java.lang.String name, org.mozilla.javascript.Scriptable scope, java.lang.Object value)java.lang.Objectunwrap()-
Methods inherited from class org.eclipse.birt.core.script.BaseScriptable
delete, delete, get, getIds, getParentScope, getPrototype, has, hasInstance, put, setParentScope, setPrototype
-
-
-
-
Field Detail
-
FIELD_VALUE
public static final java.lang.String FIELD_VALUE
- See Also:
- Constant Field Values
-
FIELD_DISPLAY_TEXT
public static final java.lang.String FIELD_DISPLAY_TEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public java.lang.Object get(java.lang.String name, org.mozilla.javascript.Scriptable scope)- Specified by:
getin interfaceorg.mozilla.javascript.Scriptable
-
getDefaultValue
public java.lang.Object getDefaultValue(java.lang.Class hint)
- Specified by:
getDefaultValuein interfaceorg.mozilla.javascript.Scriptable- Overrides:
getDefaultValuein classBaseScriptable
-
has
public boolean has(java.lang.String name, org.mozilla.javascript.Scriptable scope)- Specified by:
hasin interfaceorg.mozilla.javascript.Scriptable
-
put
public void put(java.lang.String name, org.mozilla.javascript.Scriptable scope, java.lang.Object value)- Specified by:
putin interfaceorg.mozilla.javascript.Scriptable
-
getClassName
public java.lang.String getClassName()
- Specified by:
getClassNamein interfaceorg.mozilla.javascript.Scriptable
-
unwrap
public java.lang.Object unwrap()
- Specified by:
unwrapin interfaceorg.mozilla.javascript.Wrapper
-
-