Package org.jboss.el.lang

Examples of org.jboss.el.lang.EvaluationContext


     */
    public MethodInfo getMethodInfo(ELContext context)
            throws PropertyNotFoundException, MethodNotFoundException,
            ELException {
        Node n = this.getNode();
        EvaluationContext ctx = new EvaluationContext(context, this.fnMapper,
                this.varMapper);
        return n.getMethodInfo(ctx, this.paramTypes);
    }
View Full Code Here


     *      java.lang.Object[])
     */
    public Object invoke(ELContext context, Object[] params)
            throws PropertyNotFoundException, MethodNotFoundException,
            ELException {
        EvaluationContext ctx = new EvaluationContext(context, this.fnMapper,
                this.varMapper);
        return this.getNode().invoke(ctx, this.paramTypes, params);
    }
View Full Code Here

     *
     * @see javax.el.ValueExpression#getType(javax.el.ELContext)
     */
    public Class getType(ELContext context) throws PropertyNotFoundException,
            ELException {
        EvaluationContext ctx = new EvaluationContext(context, this.fnMapper,
                this.varMapper);
        return this.getNode().getType(ctx);
    }
View Full Code Here

     *
     * @see javax.el.ValueExpression#getValue(javax.el.ELContext)
     */
    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);
        }
View Full Code Here

     *
     * @see javax.el.ValueExpression#isReadOnly(javax.el.ELContext)
     */
    public boolean isReadOnly(ELContext context)
            throws PropertyNotFoundException, ELException {
        EvaluationContext ctx = new EvaluationContext(context, this.fnMapper,
                this.varMapper);
        return this.getNode().isReadOnly(ctx);
    }
View Full Code Here

     *      java.lang.Object)
     */
    public void setValue(ELContext context, Object value)
            throws PropertyNotFoundException, PropertyNotWritableException,
            ELException {
        EvaluationContext ctx = new EvaluationContext(context, this.fnMapper,
                this.varMapper);
        this.getNode().setValue(ctx, value);
    }
View Full Code Here

     *
     * @param context the JSF ELContext
     */
    private static EvaluationContext decorateELContext(ELContext context)
    {
       return new EvaluationContext( context, new SeamFunctionMapper( context.getFunctionMapper() ), context.getVariableMapper() );
    }
View Full Code Here

  public void decode(FacesContext context, UIComponent component) {
  }
 
  protected Object evaluateExpression(String value) {
    return ExpressionBuilder.createNode(value)
      .getValue(new EvaluationContext(FacesContext.getCurrentInstance().getELContext(), null, null));
  }
View Full Code Here

   */
  public MethodInfo getMethodInfo(ELContext context)
      throws PropertyNotFoundException, MethodNotFoundException,
      ELException {
    Node n = this.getNode();
    EvaluationContext ctx = new EvaluationContext(context, this.fnMapper,
        this.varMapper);
    return n.getMethodInfo(ctx, this.paramTypes);
  }
View Full Code Here

   *    java.lang.Object[])
   */
  public Object invoke(ELContext context, Object[] params)
      throws PropertyNotFoundException, MethodNotFoundException,
      ELException {
    EvaluationContext ctx = new EvaluationContext(context, this.fnMapper,
        this.varMapper);
    return this.getNode().invoke(ctx, this.paramTypes, params);
  }
View Full Code Here

TOP

Related Classes of org.jboss.el.lang.EvaluationContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.