|
||||||||||
| 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
public abstract class AstRightValue
| Constructor Summary | |
|---|---|
AstRightValue()
|
|
| Method Summary | |
|---|---|
MethodInfo |
getMethodInfo(Bindings bindings,
ELContext context,
Class<?> returnType,
Class<?>[] paramTypes)
Get method information. |
Class<?> |
getType(Bindings bindings,
ELContext context)
according to the spec, the result is undefined for rvalues, so answer null |
ValueReference |
getValueReference(Bindings bindings,
ELContext context)
Get value reference. |
Object |
invoke(Bindings bindings,
ELContext context,
Class<?> returnType,
Class<?>[] paramTypes,
Object[] paramValues)
Invoke method. |
boolean |
isLeftValue()
|
boolean |
isLiteralText()
Answer false |
boolean |
isMethodInvocation()
|
boolean |
isReadOnly(Bindings bindings,
ELContext context)
non-lvalues are always readonly, so answer true |
void |
setValue(Bindings bindings,
ELContext context,
Object value)
non-lvalues are always readonly, so throw an exception |
| Methods inherited from class org.camunda.bpm.engine.impl.juel.AstNode |
|---|
appendStructure, eval, getStructuralId, getValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.engine.impl.juel.Node |
|---|
getCardinality, getChild |
| Constructor Detail |
|---|
public AstRightValue()
| Method Detail |
|---|
public final boolean isLiteralText()
false
true if this node represents literal text
public final Class<?> getType(Bindings bindings,
ELContext context)
null
bindings - bindings containing variables and functionscontext - evaluation context
null for non-lvalue nodes
public final boolean isReadOnly(Bindings bindings,
ELContext context)
true
bindings - bindings containing variables and functionscontext - evaluation context
true if this a read-only expression node
public final void setValue(Bindings bindings,
ELContext context,
Object value)
bindings - bindings containing variables and functionscontext - evaluation contextvalue - value to set
public final MethodInfo getMethodInfo(Bindings bindings,
ELContext context,
Class<?> returnType,
Class<?>[] paramTypes)
ExpressionNodenull.
bindings - bindings containing variables and functionscontext - evaluation contextreturnType - expected method return type (may be null meaning don't care)paramTypes - expected method argument types
null
public final Object invoke(Bindings bindings,
ELContext context,
Class<?> returnType,
Class<?>[] paramTypes,
Object[] paramValues)
ExpressionNode
bindings - bindings containing variables and functionscontext - evaluation contextreturnType - expected method return type (may be null meaning don't care)paramTypes - expected method argument typesparamValues - parameter values
public final boolean isLeftValue()
true if the subtree rooted at this node could be used as an lvalue
expression (identifier or property sequence with non-literal prefix).public boolean isMethodInvocation()
true if the subtree rooted at this node is a method invocation.
public final ValueReference getValueReference(Bindings bindings,
ELContext context)
ExpressionNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||