public abstract class AstRightValue extends AstNode
| Constructor and Description |
|---|
AstRightValue() |
| Modifier and Type | Method and Description |
|---|---|
MethodInfo |
getMethodInfo(Bindings bindings,
ELContext context,
java.lang.Class returnType,
java.lang.Class[] paramTypes)
Get method information.
|
java.lang.Class<?> |
getType(Bindings bindings,
ELContext context)
according to the spec, the result is undefined for rvalues, so answer
null |
java.lang.Object |
invoke(Bindings bindings,
ELContext context,
java.lang.Class returnType,
java.lang.Class[] paramTypes,
java.lang.Object[] paramValues)
Invoke method.
|
boolean |
isLeftValue() |
boolean |
isLiteralText()
Answer
false |
boolean |
isReadOnly(Bindings bindings,
ELContext context)
non-lvalues are always readonly, so answer
true |
void |
setValue(Bindings bindings,
ELContext context,
java.lang.Object value)
non-lvalues are always readonly, so throw an exception
|
appendStructure, eval, getStructuralId, getValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCardinality, getChildpublic final boolean isLiteralText()
falsetrue if this node represents literal textpublic final java.lang.Class<?> getType(Bindings bindings, ELContext context)
nullbindings - bindings containing variables and functionscontext - evaluation contextnull for non-lvalue nodespublic final boolean isReadOnly(Bindings bindings, ELContext context)
truebindings - bindings containing variables and functionscontext - evaluation contexttrue if this a read-only expression nodepublic final void setValue(Bindings bindings, ELContext context, java.lang.Object value)
bindings - bindings containing variables and functionscontext - evaluation contextvalue - value to setpublic final MethodInfo getMethodInfo(Bindings bindings, ELContext context, java.lang.Class returnType, java.lang.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 typesnullpublic final java.lang.Object invoke(Bindings bindings, ELContext context, java.lang.Class returnType, java.lang.Class[] paramTypes, java.lang.Object[] paramValues)
ExpressionNodebindings - bindings containing variables and functionscontext - evaluation contextreturnType - expected method return type (may be null meaning don't care)paramTypes - expected method argument typesparamValues - parameter valuespublic 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 proefix).