|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.web.model.Model
public class Model
Represents the model in web MVC.
Constructor Summary | |
---|---|
Model()
|
Method Summary | |
---|---|
boolean |
contains(java.lang.String key)
Determines whether the model contains an element with the specified key. |
java.lang.Object |
get(java.lang.String name)
Gets data from the model. |
java.util.Set |
keySet()
Gets the set of all keys. |
void |
put(java.lang.String name,
java.lang.Object value)
Puts data into the model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Model()
Method Detail |
---|
public void put(java.lang.String name, java.lang.Object value)
name
- the name of the datavalue
- the valuepublic java.lang.Object get(java.lang.String name)
name
- the name of the data
public java.util.Set keySet()
public boolean contains(java.lang.String key)
key
- a String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |