jodd.madvoc.component
Class ResultMapper
java.lang.Object
jodd.madvoc.component.ResultMapper
public class ResultMapper
- extends java.lang.Object
Maps action results to result path. Invoked just before the result itself.
|
Method Summary |
protected java.lang.String |
resolveAlias(java.lang.String resultValue)
Returns resolved alias result value or passed on, if alias doesn't exist. |
java.lang.String |
resolveResultPath(ActionConfig cfg,
java.lang.String resultValue)
Resolves result path from action configuration and result value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPL_CLASS
protected static final java.lang.String REPL_CLASS
- See Also:
- Constant Field Values
REPL_METHOD
protected static final java.lang.String REPL_METHOD
- See Also:
- Constant Field Values
madvocConfig
@PetiteInject
protected MadvocConfig madvocConfig
ResultMapper
public ResultMapper()
resolveAlias
protected java.lang.String resolveAlias(java.lang.String resultValue)
- Returns resolved alias result value or passed on, if alias doesn't exist.
resolveResultPath
public java.lang.String resolveResultPath(ActionConfig cfg,
java.lang.String resultValue)
- Resolves result path from action configuration and result value.
By default, the result value is appended to the class action path and method action path.
If result value starts with path prefix, it represent complete path.
Although result value may be
null, result is never null.
Copyright © 2003-2011 Jodd Team