(EvaluationContext ctx)
| 114 | } |
| 115 | |
| 116 | @Override |
| 117 | public boolean isReadOnly(EvaluationContext ctx) throws ELException { |
| 118 | VariableMapper varMapper = ctx.getVariableMapper(); |
| 119 | if (varMapper != null) { |
| 120 | ValueExpression expr = varMapper.resolveVariable(this.image); |
| 121 | if (expr != null) { |
| 122 | return expr.isReadOnly(ctx.getELContext()); |
| 123 | } |
| 124 | } |
| 125 | ctx.setPropertyResolved(false); |
| 126 | boolean result = ctx.getELResolver().isReadOnly(ctx, null, this.image); |
| 127 | if (!ctx.isPropertyResolved()) { |
| 128 | throw new PropertyNotFoundException(MessageFactory.get("error.resolver.unhandled.null", this.image)); |
| 129 | } |
| 130 | return result; |
| 131 | } |
| 132 | |
| 133 | @Override |
| 134 | public void setValue(EvaluationContext ctx, Object value) throws ELException { |
nothing calls this directly
no test coverage detected