com.opensymphony.xwork2.util
Interface TextParseUtil.ParsedValueEvaluator
- Enclosing class:
- TextParseUtil
public static interface TextParseUtil.ParsedValueEvaluator
A parsed value evaluator for TextParseUtil. It could be supplied by
calling TextParseUtil.translateVariables(char, String, ValueStack, Class, ParsedValueEvaluator).
By supplying this ParsedValueEvaluator, the parsed value
(parsed against the value stack) value will be
given to ParsedValueEvaluator to be evaluated before the
translateVariable process goes on.
A typical use-case would be to have a custom ParseValueEvaluator
to URL Encode the parsed value.
- Version:
- $Date: 2009-12-27 19:18:29 +0100 (Sun, 27 Dec 2009) $ $Id: TextParseUtil.java 894090 2009-12-27 18:18:29Z martinc $
- Author:
- tm_jee
|
Method Summary |
java.lang.Object |
evaluate(java.lang.Object parsedValue)
Evaluated the value parsed by Ognl value stack. |
evaluate
java.lang.Object evaluate(java.lang.Object parsedValue)
- Evaluated the value parsed by Ognl value stack.
- Parameters:
parsedValue - - value parsed by ognl value stack
- Returns:
- return the evaluted value.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.