|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.servlet.JetData
public class JetData
Wrapper class for hierarchical TreeMap structure.
Field Summary | |
---|---|
private java.util.TreeMap |
data
Holds the data map with the hierarchical structure |
Constructor Summary | |
---|---|
JetData()
Constructor |
Method Summary | |
---|---|
void |
add(java.lang.String key,
java.lang.Object value)
adds data to the map |
java.lang.Object |
get(java.lang.String key)
gets the data to from the map |
java.util.TreeMap |
getData()
|
static java.lang.Object |
getMapped(java.lang.String key,
java.util.TreeMap dest)
Method to get value from TreeMap structure |
java.lang.String |
getMessage(java.lang.String key)
Returns the message for the given key |
void |
init(java.util.TreeMap data)
init method to initialize the TreeMap internal used - must be called from jetAction before used |
void |
reset()
Method to reset the object for pooling |
static void |
setMapped(java.lang.String key,
java.lang.Object value,
java.util.TreeMap dest)
Method to set key/value pair on TreeMap structure |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.TreeMap data
Constructor Detail |
---|
public JetData()
Method Detail |
---|
public void init(java.util.TreeMap data)
data
- the TreeMap to usepublic java.util.TreeMap getData()
public void add(java.lang.String key, java.lang.Object value)
public java.lang.Object get(java.lang.String key)
public java.lang.String getMessage(java.lang.String key)
key
- key
public void reset()
reset
in interface Resetable
public static void setMapped(java.lang.String key, java.lang.Object value, java.util.TreeMap dest)
key
- keyvalue
- valuedest
- TreeMap where to set the key/value pairpublic static java.lang.Object getMapped(java.lang.String key, java.util.TreeMap dest)
key
- keydest
- TreeMap where to set the key/value pair
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |