|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.japano.View
public class View
Holds the URI and the attributes and messages for the current view. The view itself is generated by the JSP compiler.
Nested Class Summary | |
---|---|
static class |
View.Message
A Message that can be added to a view. |
Constructor Summary | |
---|---|
View(java.lang.String URI)
|
Method Summary | |
---|---|
void |
addAttribute(java.lang.String name,
java.lang.Object value)
Adds an attribute to this view. |
void |
addMessage(java.lang.Class actionClass,
java.lang.String paramName,
java.lang.String message,
java.lang.String fieldId)
Adds a new message to the view which can be display with the MessageList tag. |
java.util.Map |
attributes()
Returns a copy of this view's attributes. |
void |
clearMessages()
|
java.lang.Object |
clone()
|
java.lang.String |
getURI()
|
java.util.List |
messages()
Returns an iterator over all messages. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public View(java.lang.String URI)
Method Detail |
---|
public java.lang.String getURI()
public void addAttribute(java.lang.String name, java.lang.Object value)
name
- name of the attributevalue
- attribute value.public java.util.Map attributes()
public java.lang.String toString()
toString
in class java.lang.Object
public void addMessage(java.lang.Class actionClass, java.lang.String paramName, java.lang.String message, java.lang.String fieldId)
MessageList
tag.
public java.util.List messages()
public void clearMessages()
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |