|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.env.Value
com.caucho.quercus.env.Callback
com.caucho.quercus.env.CallbackClassMethod
public class CallbackClassMethod
Represents a call to an object's method
Field Summary |
---|
Fields inherited from class com.caucho.quercus.env.Value |
---|
NULL_ARGS, NULL_VALUE_ARRAY |
Constructor Summary | |
---|---|
CallbackClassMethod(QuercusClass qClass,
StringValue methodName)
|
|
CallbackClassMethod(QuercusClass qClass,
StringValue methodName,
Value qThis)
|
Method Summary | |
---|---|
Value |
call(Env env)
Evaluates the callback with no arguments. |
Value |
call(Env env,
Value a1)
Evaluates the callback with 1 argument. |
Value |
call(Env env,
Value[] args)
Evaluates the callback with variable arguments. |
Value |
call(Env env,
Value a1,
Value a2)
Evaluates the callback with 2 arguments. |
Value |
call(Env env,
Value a1,
Value a2,
Value a3)
Evaluates the callback with 3 arguments. |
Value |
call(Env env,
Value a1,
Value a2,
Value a3,
Value a4)
Evaluates the callback with 3 arguments. |
Value |
call(Env env,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5)
Evaluates the callback with 3 arguments. |
java.lang.String |
getCallbackName()
Returns the name of the callback. |
boolean |
isInternal(Env env)
Returns true if this callback is implemented internally (i.e. |
boolean |
isValid(Env env)
Checks for a valid callback. |
void |
varDumpImpl(Env env,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet)
|
Methods inherited from class com.caucho.quercus.env.Callback |
---|
callArray, callArray, callArray, toCallable, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CallbackClassMethod(QuercusClass qClass, StringValue methodName, Value qThis)
public CallbackClassMethod(QuercusClass qClass, StringValue methodName)
Method Detail |
---|
public Value call(Env env)
call
in interface Callable
call
in class Value
env
- the calling environmentpublic Value call(Env env, Value a1)
call
in interface Callable
call
in class Value
env
- the calling environmentpublic Value call(Env env, Value a1, Value a2)
call
in interface Callable
call
in class Value
env
- the calling environmentpublic Value call(Env env, Value a1, Value a2, Value a3)
call
in interface Callable
call
in class Value
env
- the calling environmentpublic Value call(Env env, Value a1, Value a2, Value a3, Value a4)
call
in interface Callable
call
in class Value
env
- the calling environmentpublic Value call(Env env, Value a1, Value a2, Value a3, Value a4, Value a5)
call
in interface Callable
call
in class Value
env
- the calling environmentpublic Value call(Env env, Value[] args)
Callback
call
in interface Callable
call
in class Callback
env
- the calling environmentpublic void varDumpImpl(Env env, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet) throws java.io.IOException
varDumpImpl
in class Value
java.io.IOException
public boolean isValid(Env env)
Callable
isValid
in interface Callable
isValid
in class Callback
public java.lang.String getCallbackName()
Callback
getCallbackName
in interface Callable
getCallbackName
in class Callback
public boolean isInternal(Env env)
Callback
isInternal
in class Callback
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |