/src/main/java/com/googlecode/struts2yuiplugin/components/OGNLEvaluator.java

http://struts2yuiplugin.googlecode.com/ · Java · 18 lines · 4 code · 2 blank · 12 comment · 0 complexity · 4f5dd8b8543459e215cb0406cf605482 MD5 · raw file

  1. package com.googlecode.struts2yuiplugin.components;
  2. /**
  3. * Simplified interface to evaluate an OGNL expression
  4. *
  5. * The purpose at the moment is to allow the AjaxBeanSupport to call-back into the expression evaluation
  6. * currenly embedded within Component
  7. */
  8. public interface OGNLEvaluator {
  9. /**
  10. * Evaluates the OGNL expression within a context
  11. *
  12. * @param expr OGNL expression.
  13. * @return the String value found.
  14. */
  15. String evaluateExpression(String expr);
  16. }