rewrite-api-el 2.0.0.Final

org.ocpsoft.rewrite.el.spi
Interface ExpressionLanguageProvider

All Superinterfaces:
org.ocpsoft.common.pattern.Weighted

public interface ExpressionLanguageProvider
extends org.ocpsoft.common.pattern.Weighted

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.
 
Methods inherited from interface org.ocpsoft.common.pattern.Weighted
priority
 

Method Detail

retrieveValue

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

Throws:
UnsupportedOperationException

submitValue

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

Throws:
UnsupportedOperationException

evaluateMethodExpression

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

Throws:
UnsupportedOperationException

evaluateMethodExpression

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

Throws:
UnsupportedOperationException

rewrite-api-el 2.0.0.Final

Copyright © 2013 OCPsoft. All Rights Reserved.