rewrite-api-el 1.1.0.Final

org.ocpsoft.rewrite.el.spi
Interface ExpressionLanguageProvider


public interface ExpressionLanguageProvider

Defines a service interface to provide EL support.

Author:
Lincoln Baxter, III

Method Summary
 Object evaluateMethodExpression(String expression)
          Invoke the method specified by the given EL expression, returning the result - if any.
 Object evaluateMethodExpression(String expression, Object... values)
          Evaluate a method expression, passing the given parameters, returning the result - if any.
 Object retrieveValue(String expression)
          Extract a value from the location specified by the given EL location.
 void submitValue(String expression, Object value)
          Inject a value into location specified by the given EL expression.
 

Method Detail

retrieveValue

Object retrieveValue(String expression)
                     throws UnsupportedEvaluationException
Extract a value from the location specified by the given EL location.

Throws:
UnsupportedEvaluationException

submitValue

void submitValue(String expression,
                 Object value)
                 throws UnsupportedEvaluationException
Inject a value into location specified by the given EL expression.

Throws:
UnsupportedEvaluationException

evaluateMethodExpression

Object evaluateMethodExpression(String expression)
                                throws UnsupportedEvaluationException
Invoke the method specified by the given EL expression, returning the result - if any.

Throws:
UnsupportedEvaluationException

evaluateMethodExpression

Object evaluateMethodExpression(String expression,
                                Object... values)
                                throws UnsupportedEvaluationException
Evaluate a method expression, passing the given parameters, returning the result - if any.

Throws:
UnsupportedEvaluationException

rewrite-api-el 1.1.0.Final

Copyright © 2012 OCPsoft. All Rights Reserved.