private Object[] getParameters(EvaluationContext ctx) throws ELException { if (this.children == null) return null; Object[] obj = new Object[this.children.length]; for (int i = 0; i < obj.length; i++) { obj[i] = this.children[i].getValue(ctx); } return obj; }
public Object getValue(EvaluationContext ctx) throws ELException { return this.children[0].getValue(ctx); }
public Object getValue(EvaluationContext ctx) throws ELException { Object obj0 = this.children[0].getValue(ctx); Object obj1 = this.children[1].getValue(ctx); if (obj0 == obj1) { return Boolean.TRUE; } if (obj0 == null || obj1 == null) { return Boolean.FALSE; } return (compare(obj0, obj1) <= 0) ? Boolean.TRUE : Boolean.FALSE; }
public Object getValue(EvaluationContext ctx) throws ELException { Object obj0 = this.children[0].getValue(ctx); if (obj0 == null) { return Boolean.FALSE; } Object obj1 = this.children[1].getValue(ctx); if (obj1 == null) { return Boolean.FALSE; } return (compare(obj0, obj1) < 0) ? Boolean.TRUE : Boolean.FALSE; }
public Object getValue(EvaluationContext ctx) throws ELException { Object obj0 = this.children[0].getValue(ctx); if (obj0 == null) { return Boolean.FALSE; } Object obj1 = this.children[1].getValue(ctx); if (obj1 == null) { return Boolean.FALSE; } return (compare(obj0, obj1) < 0) ? Boolean.TRUE : Boolean.FALSE; }
public Object getValue(EvaluationContext ctx) throws ELException { Object obj0 = this.children[0].getValue(ctx); Object obj1 = this.children[1].getValue(ctx); if (obj0 == obj1) { return Boolean.TRUE; } if (obj0 == null || obj1 == null) { return Boolean.FALSE; } return (compare(obj0, obj1) <= 0) ? Boolean.TRUE : Boolean.FALSE; }
public Object getValue(EvaluationContext ctx) throws ELException { Object obj = this.children[0].getValue(ctx); Boolean b = coerceToBoolean(obj); return Boolean.valueOf(!b.booleanValue()); } }
public Object getValue(EvaluationContext ctx) throws ELException { Object obj = this.children[0].getValue(ctx); Boolean b = coerceToBoolean(obj); return Boolean.valueOf(!b.booleanValue()); } }
protected Object evaluateExpression(String value) { return ExpressionBuilder.createNode(value) .getValue(new EvaluationContext(FacesContext.getCurrentInstance().getELContext(), null, null)); }
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(Object base, EvaluationContext ctx) throws ELException { VariableMapper orig = ctx.getVariableMapper(); ctx.setVariableMapper(new ClosureVariableMapper(orig, this.image, base)); Object result = null; try { result = this.children[0].getValue(ctx); } finally { ctx.setVariableMapper(orig); } return result; }
public Object getValue(Object base, EvaluationContext ctx) throws ELException { VariableMapper orig = ctx.getVariableMapper(); ctx.setVariableMapper(new ClosureVariableMapper(orig, this.image, base)); Object result = null; try { result = this.children[0].getValue(ctx); } finally { ctx.setVariableMapper(orig); } return result; }