@Override public Class<?> getType(ELContext context) { context.notifyBeforeEvaluation(getExpressionString()); Class<?> result = (this.value != null) ? this.value.getClass() : null; context.notifyAfterEvaluation(getExpressionString()); return result; }
@Override public boolean isReadOnly(ELContext context) { context.notifyBeforeEvaluation(getExpressionString()); context.notifyAfterEvaluation(getExpressionString()); return true; }
@Override public boolean isReadOnly(ELContext context) { context.notifyBeforeEvaluation(getExpressionString()); context.notifyAfterEvaluation(getExpressionString()); return true; }
@Override public Class<?> getType(ELContext context) { context.notifyBeforeEvaluation(getExpressionString()); Class<?> result = (this.value != null) ? this.value.getClass() : null; context.notifyAfterEvaluation(getExpressionString()); return result; }
@Override public Object getValue(ELContext context) { context.notifyBeforeEvaluation(getExpressionString()); Object result; if (this.expectedType != null) { result = context.convertToType(this.value, this.expectedType); } else { result = this.value; } context.notifyAfterEvaluation(getExpressionString()); return result; }
@Override public Object getValue(ELContext context) { context.notifyBeforeEvaluation(getExpressionString()); Object result; if (this.expectedType != null) { result = context.convertToType(this.value, this.expectedType); } else { result = this.value; } context.notifyAfterEvaluation(getExpressionString()); return result; }
@Override public void setValue(ELContext context, Object value) { context.notifyBeforeEvaluation(getExpressionString()); throw new PropertyNotWritableException(MessageFactory.get( "error.value.literal.write", this.value)); }
@Override public void setValue(ELContext context, Object value) { context.notifyBeforeEvaluation(getExpressionString()); throw new PropertyNotWritableException(MessageFactory.get( "error.value.literal.write", this.value)); }