|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.infohazard.maverick.view.RedirectViewFactory
Creates views which result in HTTP redirects.
Views will handle the model in the following way:
Params set on the ControllerContext will become query parameters.
Redirect views cannot have transforms and have no attributes other than "path".
Constructor Summary | |
RedirectViewFactory()
|
Method Summary | |
View |
createView(org.jdom.Element viewNode)
Creates a specific instance of the View from the XML element in the maverick configuration file. |
void |
init(org.jdom.Element factoryNode,
javax.servlet.ServletConfig servletCfg)
The factory will be initialized with the XML element from from the maverick configuration file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RedirectViewFactory()
Method Detail |
public void init(org.jdom.Element factoryNode, javax.servlet.ServletConfig servletCfg) throws ConfigException
ViewFactory
init
in interface ViewFactory
ConfigException
public View createView(org.jdom.Element viewNode) throws ConfigException
ViewFactory
createView
in interface ViewFactory
ConfigException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |