/src/main/java/com/googlecode/struts2yuiplugin/components/OGNLEvaluator.java
Java | 18 lines | 4 code | 2 blank | 12 comment | 0 complexity | 4f5dd8b8543459e215cb0406cf605482 MD5 | raw file
1package com.googlecode.struts2yuiplugin.components; 2 3/** 4 * Simplified interface to evaluate an OGNL expression 5 * 6 * The purpose at the moment is to allow the AjaxBeanSupport to call-back into the expression evaluation 7 * currenly embedded within Component 8 */ 9public interface OGNLEvaluator { 10 11 /** 12 * Evaluates the OGNL expression within a context 13 * 14 * @param expr OGNL expression. 15 * @return the String value found. 16 */ 17 String evaluateExpression(String expr); 18}