|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.jsp.decorator.CmsDecorationBundle
public class CmsDecorationBundle
CmsDecorationBundle, contains a map of merged CmsDEcorationMaps.
The map inside the decoration bundle uses the decoration as keys and CmsDecorationObjects as values.
A decoration bundle contains either all decoarions for one locale (similar to a resource bundle), or is locale independend. If its a locale independend bundle, the included locale is set to null.
| Constructor Summary | |
|---|---|
CmsDecorationBundle()
Constructor, creates a new, empty CmsDecorationBundle. |
|
CmsDecorationBundle(Locale locale)
Constructor, creates a new CmsDecorationBundle for a given locale. |
|
| Method Summary | |
|---|---|
Object |
get(Object key)
Gets an object from the decoration bundle. |
Map |
getAll()
Gets the map of all decoarion bundle entries. |
Locale |
getLocale()
Gets the locale of this decoration bundle. |
Set |
keySet()
Gets the keyset of the decoration bundle map. |
void |
put(Object key,
Object value)
Stores an obiect in the decoration bundle. |
void |
putAll(Map map)
Puts a complete map of objects into bundle. |
void |
setLocale(Locale locale)
Sets the locale of the decoration bundle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsDecorationBundle()
public CmsDecorationBundle(Locale locale)
locale - the locale of this bundle or null| Method Detail |
|---|
public Object get(Object key)
key - the key of the object ot get
public Map getAll()
public Locale getLocale()
public Set keySet()
public void put(Object key,
Object value)
key - the key of the object to storevalue - the value of the object to storepublic void putAll(Map map)
map - the map to put into the bundlepublic void setLocale(Locale locale)
locale - the locale to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||