public T getValue() { return (T) toUnifiedValueExpression().getValue( getELContext() ); }
private javax.el.ValueExpression createExpression() { return getExpressionFactory().createValueExpression( getELContext(), expression, type ); }
/** * Get an appropriate ELContext. If there is an active JSF request, * use JSF's ELContext. Otherwise, use one that we created. */ @Override public ELContext getELContext() { return isFacesContextActive() ? FacesContext.getCurrentInstance().getELContext() : super.getELContext(); }
public Class<T> getType() { // QUESTION shouldn't we use the type provided in the constructor? return (Class<T>) toUnifiedValueExpression().getType( getELContext() ); }
public T invoke(Object... args) { return (T) toUnifiedMethodExpression().invoke( getELContext(), args ); }
public void setValue(T value) { toUnifiedValueExpression().setValue( getELContext(), value ); }
private javax.el.MethodExpression createExpression() { return getExpressionFactory().createMethodExpression( getELContext(), expression, type, argTypes ); }