public Object getValue(ELContext context) { if (this.expectedType != null) { return ELSupport.coerceToType(this.value, this.expectedType); } return this.value; }
public Object invoke(ELContext context, Object[] params) throws ELException { if (this.expectedType != null) { return ELSupport.coerceToType(this.expr, this.expectedType); } else { return this.expr; } }
public Object getValue(ELContext context) { if (this.expectedType != null) { return ELSupport.coerceToType(this.value, this.expectedType); } return this.value; }
public Object invoke(ELContext context, Object[] params) throws ELException { if (this.expectedType != null) { return ELSupport.coerceToType(this.expr, this.expectedType); } else { return this.expr; } }
public Object invoke(ELContext context, Object[] params) throws ELException { if (this.expectedType != null) { return ELSupport.coerceToType(this.expr, this.expectedType); } else { return this.expr; } }
public Object coerceToType(Object obj, Class type) { return ELSupport.coerceToType(obj, type); }
public Object getValue(ELContext context) { if (this.expectedType != null) { return ELSupport.coerceToType(this.value, this.expectedType); } return this.value; }
public Object coerceToType(Object obj, Class type) { return ELSupport.coerceToType(obj, type); }
public Object coerceToType(Object obj, Class type) { return ELSupport.coerceToType(obj, type); }
params[i] = ELSupport.coerceToType(paramValues[i], paramTypes[i]); } else { params[i] = Array.newInstance(argType, 1); Array.set(params[i], 0, ELSupport.coerceToType(paramValues[i], argType)); Object ar = Array.newInstance(argType, len); for (int j = 0; j < len; j++) { Array.set(ar, j, ELSupport.coerceToType(paramValues[paramTypes.length - 1 + j], argType)); params[i] = ELSupport.coerceToType(paramValues[i], paramTypes[i]);
params[i] = ELSupport.coerceToType(paramValues[i], paramTypes[i]); } else { params[i] = Array.newInstance(argType, 1); Array.set(params[i], 0, ELSupport.coerceToType(paramValues[i], argType)); Object ar = Array.newInstance(argType, len); for (int j = 0; j < len; j++) { Array.set(ar, j, ELSupport.coerceToType(paramValues[paramTypes.length - 1 + j], argType)); params[i] = ELSupport.coerceToType(paramValues[i], paramTypes[i]);
params[i] = ELSupport.coerceToType(paramValues[i], paramTypes[i]); } else { params[i] = Array.newInstance(argType, 1); Array.set(params[i], 0, ELSupport.coerceToType(paramValues[i], argType)); Object ar = Array.newInstance(argType, len); for (int j = 0; j < len; j++) { Array.set(ar, j, ELSupport.coerceToType(paramValues[paramTypes.length - 1 + j], argType)); params[i] = ELSupport.coerceToType(paramValues[i], paramTypes[i]);
public Object getValue(ELContext context) throws PropertyNotFoundException, ELException { EvaluationContext ctx = new EvaluationContext(context, this.fnMapper, this.varMapper); Object value = this.getNode().getValue(ctx); if (this.expectedType != null) { return ELSupport.coerceToType(value, this.expectedType); } return value; }
public Object getValue(ELContext context) throws PropertyNotFoundException, ELException { EvaluationContext ctx = new EvaluationContext(context, this.fnMapper, this.varMapper); Object value = this.getNode().getValue(ctx); if (this.expectedType != null) { return ELSupport.coerceToType(value, this.expectedType); } return value; }
public Object getValue(ELContext context) throws PropertyNotFoundException, ELException { EvaluationContext ctx = new EvaluationContext(context, this.fnMapper, this.varMapper); Object value = this.getNode().getValue(ctx); if (this.expectedType != null) { return ELSupport.coerceToType(value, this.expectedType); } return value; }