|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.juel.AstNode
org.camunda.bpm.engine.impl.juel.AstRightValue
org.camunda.bpm.engine.impl.juel.AstFunction
public class AstFunction
| Constructor Summary | |
|---|---|
AstFunction(String name,
int index,
AstParameters params)
|
|
AstFunction(String name,
int index,
AstParameters params,
boolean varargs)
|
|
| Method Summary | |
|---|---|
void |
appendStructure(StringBuilder b,
Bindings bindings)
|
Object |
eval(Bindings bindings,
ELContext context)
|
int |
getCardinality()
Get the node's number of children. |
AstNode |
getChild(int i)
Get i'th child |
int |
getIndex()
Get the unique index of this identifier in the expression (e.g. |
String |
getName()
Get the full function name |
protected AstNode |
getParam(int i)
|
int |
getParamCount()
Get the number of parameters for this function |
protected Object |
invoke(Bindings bindings,
ELContext context,
Object base,
Method method)
Invoke method. |
boolean |
isVarArgs()
|
String |
toString()
|
| Methods inherited from class org.camunda.bpm.engine.impl.juel.AstRightValue |
|---|
getMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue |
| Methods inherited from class org.camunda.bpm.engine.impl.juel.AstNode |
|---|
getStructuralId, getValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AstFunction(String name,
int index,
AstParameters params)
public AstFunction(String name,
int index,
AstParameters params,
boolean varargs)
| Method Detail |
|---|
protected Object invoke(Bindings bindings,
ELContext context,
Object base,
Method method)
throws InvocationTargetException,
IllegalAccessException
bindings - context - base - method -
InvocationTargetException
IllegalAccessException
public Object eval(Bindings bindings,
ELContext context)
eval in class AstNodepublic String toString()
toString in class Object
public void appendStructure(StringBuilder b,
Bindings bindings)
appendStructure in class AstNodepublic int getIndex()
FunctionNode
getIndex in interface FunctionNodepublic String getName()
FunctionNode
getName in interface FunctionNodepublic boolean isVarArgs()
isVarArgs in interface FunctionNodetrue if this node supports varargs.public int getParamCount()
FunctionNode
getParamCount in interface FunctionNodeprotected AstNode getParam(int i)
public int getCardinality()
Node
getCardinality in interface Nodepublic AstNode getChild(int i)
Node
getChild in interface Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||