|
|||||||||
| Home >> All >> com >> opencms >> template >> [ cache overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.opencms.template.cache
Class CmsElementDefinitionCollection

java.lang.Objectcom.opencms.template.cache.CmsElementDefinitionCollection
- public class CmsElementDefinitionCollection
- extends java.lang.Object
Used to collect a set of element definitions. Two CmsElementDefinitionCollections can be merged using the join constructor.
| Field Summary | |
private java.util.Hashtable |
m_eldefs
Hashtable for storing all definitions |
| Constructor Summary | |
CmsElementDefinitionCollection()
Default constructor |
|
CmsElementDefinitionCollection(CmsElementDefinitionCollection primary,
CmsElementDefinitionCollection secondary)
Join cunstructor. |
|
| Method Summary | |
void |
add(CmsElementDefinition def)
Add a definition to the collection. |
CmsElementDefinition |
get(java.lang.String name)
Geta definition from the collection. |
java.util.Enumeration |
getAllElementNames()
|
java.lang.String |
toString()
Get a string representation of this collection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
m_eldefs
private java.util.Hashtable m_eldefs
- Hashtable for storing all definitions
| Constructor Detail |
CmsElementDefinitionCollection
public CmsElementDefinitionCollection()
- Default constructor
CmsElementDefinitionCollection
public CmsElementDefinitionCollection(CmsElementDefinitionCollection primary, CmsElementDefinitionCollection secondary)
- Join cunstructor.
Two CmsElementDefinitionCollections can be merged using this constructor.
If a definition is defined in both source collections
the single parts of this definitions will be merged.
If a part of a definition is defined twice, the collection
primary will be preferred.
| Method Detail |
add
public void add(CmsElementDefinition def)
- Add a definition to the collection.
get
public CmsElementDefinition get(java.lang.String name)
- Geta definition from the collection.
getAllElementNames
public java.util.Enumeration getAllElementNames()
toString
public java.lang.String toString()
- Get a string representation of this collection.
|
|||||||||
| Home >> All >> com >> opencms >> template >> [ cache overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.opencms.template.cache.CmsElementDefinitionCollection