|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.struts.taglib.template.util.ContentMap
A simple facade for a hash map. This class restricts operations that can be performed on a hash map of contents.
Field Summary | |
private java.util.HashMap |
map
The map. |
Constructor Summary | |
ContentMap()
Explicitly declare a do-nothing, no-arg constructor. |
Method Summary | |
Content |
get(java.lang.String name)
Returns the content associated with name |
void |
put(java.lang.String name,
Content content)
Put named content into map. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.util.HashMap map
Constructor Detail |
public ContentMap()
Method Detail |
public void put(java.lang.String name, Content content)
name
- The content's namecontent
- The contentpublic Content get(java.lang.String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |