public class MockCompositeValueExpression extends MockValueExpression
| Constructor and Description |
|---|
MockCompositeValueExpression(String expression,
Class expectedType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpressionString()
Return the original String used to create this expression,
unmodified.
|
static int |
getStartPositionOfReference(StringBuilder expressionPart) |
Class |
getType(javax.el.ELContext context)
Evaluate this expression relative to the specified context,
and return the most general type that is acceptable for the
value passed in a
setValue() call. |
Object |
getValue(javax.el.ELContext context)
Evaluate this expression relative to the specified context,
and return the result.
|
boolean |
isReadOnly(javax.el.ELContext context)
Evaluate this expression relative to the specified context,
and return
true if a call to setValue()
will always fail. |
void |
setValue(javax.el.ELContext context,
Object value)
Evaluate this expression relative to the specified context,
and set the result to the specified value.
|
equals, getExpectedType, hashCode, isLiteralTextpublic Class getType(javax.el.ELContext context)
MockValueExpressionEvaluate this expression relative to the specified context,
and return the most general type that is acceptable for the
value passed in a setValue() call.
getType in class MockValueExpressioncontext - ELContext for this evaluationpublic Object getValue(javax.el.ELContext context)
MockValueExpressionEvaluate this expression relative to the specified context, and return the result.
getValue in class MockValueExpressioncontext - ELContext for this evaluationpublic void setValue(javax.el.ELContext context,
Object value)
MockValueExpressionEvaluate this expression relative to the specified context, and set the result to the specified value.
setValue in class MockValueExpressioncontext - ELContext for this evaluationvalue - Value to which the result should be setpublic String getExpressionString()
MockValueExpressionReturn the original String used to create this expression, unmodified.
getExpressionString in class MockValueExpressionpublic boolean isReadOnly(javax.el.ELContext context)
MockValueExpressionEvaluate this expression relative to the specified context,
and return true if a call to setValue()
will always fail.
isReadOnly in class MockValueExpressioncontext - ELContext for this evaluationpublic static int getStartPositionOfReference(StringBuilder expressionPart)
Copyright © 2017 The Apache Software Foundation. All rights reserved.