|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.waffle.view.DefaultViewResolver
public class DefaultViewResolver
The default ViewResolver returns the path of the View being resolved. It holds the default values of the view properties configurable in the web.xml:
Constructor Summary | |
---|---|
DefaultViewResolver()
|
Method Summary | |
---|---|
void |
configureView(java.lang.String key,
java.lang.String value)
Configures the resolution of a single view |
void |
configureViews(java.util.Properties viewProperties)
Configures the resolution of multiple views |
java.lang.String |
resolve(View view)
Resolves the view by return the path to the next view |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultViewResolver()
Method Detail |
---|
public java.lang.String resolve(View view)
ViewResolver
resolve
in interface ViewResolver
view
- the View
public void configureViews(java.util.Properties viewProperties)
ViewResolver
configureViews
in interface ViewResolver
viewProperties
- the view Propertiespublic void configureView(java.lang.String key, java.lang.String value)
ViewResolver
configureView
in interface ViewResolver
key
- the view keyvalue
- the view value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |