com.opensymphony.xwork.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, OgnlValueStack, 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: 2006-06-10 07:53:37 +0200 (Sat, 10 Jun 2006) $ $Id: TextParseUtil.java 1027 2006-06-10 07:53:37 +0200 (Sat, 10 Jun 2006) tmjee $
- Author:
- tm_jee
evaluate
Object evaluate(Object parsedValue)
- Evaluated the value parsed by Ognl value stack.
- Parameters:
parsedValue
- - value parsed by ognl value stack
- Returns:
- return the evaluted value.