|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.madvoc.result.ActionResult
public abstract class ActionResult
Action result for specified result type. Action results are singletons for the web application.
| Field Summary | |
|---|---|
protected boolean |
initialized
|
protected java.lang.String |
type
|
| Constructor Summary | |
|---|---|
protected |
ActionResult(java.lang.String type)
Creates new action result. |
| Method Summary | |
|---|---|
java.lang.String |
getType()
Returns the type of this action result. |
void |
init()
Invoked on result initialization. |
void |
initialized()
Marks that interceptor is initialized. |
boolean |
isInitialized()
Returns true if interceptor is initialized. |
abstract void |
render(ActionRequest actionRequest,
java.lang.Object resultObject,
java.lang.String resultValue,
java.lang.String resultPath)
Executes result on given action result value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String type
protected boolean initialized
| Constructor Detail |
|---|
protected ActionResult(java.lang.String type)
| Method Detail |
|---|
public java.lang.String getType()
public abstract void render(ActionRequest actionRequest,
java.lang.Object resultObject,
java.lang.String resultValue,
java.lang.String resultPath)
throws java.lang.Exception
actionRequest - action requestresultObject - reference to action method result, may be nullresultValue - string representation of result, may be nullresultPath - result path
java.lang.Exceptionpublic final boolean isInitialized()
true if interceptor is initialized.
public final void initialized()
public void init()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||