com.caucho.es
Class ESGlobal
java.lang.Object
|
+--com.caucho.es.ESBase
|
+--com.caucho.es.ESObject
|
+--com.caucho.es.ESGlobal
- All Implemented Interfaces:
- ESCallable
- public abstract class ESGlobal
- extends ESObject
- implements ESCallable
Implementation class representing the global object.
Methods inherited from class com.caucho.es.ESObject |
call, canPut, construct, copy, copy, copy, delete, ecmaEquals, getProperty, keys, put, put, put, setProperty, shallowCopy, toBoolean, toNum, toObject, toSource, unwatch, watch |
Methods inherited from class com.caucho.es.ESBase |
call, getJavaType, getProperty, greaterThan, hasProperty, isBoolean, isNum, isString, lessThan, plus, setProperty, toInt32, toJavaString, toPrimitive, toString, valueOf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ESGlobal
protected ESGlobal(Global resin)
- Null constructor
typeof
public ESBase typeof()
throws ESException
- Returns the string representation of the type.
- Overrides:
typeof
in class ESObject
toStr
public ESString toStr()
throws ESException
- returns the string representation
- Overrides:
toStr
in class ESObject
toPrimitive
public ESBase toPrimitive(int hint)
throws ESException
- returns a primitive
- Overrides:
toPrimitive
in class ESObject
setProperty
public void setProperty(java.lang.String name,
ESBase value)
throws java.lang.Exception
- Overrides:
setProperty
in class ESBase
toJavaObject
public java.lang.Object toJavaObject()
throws ESException
- Overrides:
toJavaObject
in class ESObject
export
public void export(ESObject dest)
throws java.lang.Exception
wrap
public ESBase wrap(java.lang.Object obj)
throws java.lang.Exception
- Wraps the java object in an ES wrapper
call
public abstract ESBase call(int n,
Call call,
int length)
throws java.lang.Exception
- Specified by:
call
in interface ESCallable