|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.opencms.template.cache.CmsElementDefinition
An instance of CmsElementDefinitions represents an "pointer" to other elements. This pointers are stored in CmsElement's. An ElementDfinitions stores information about an element, like the name, className, templateName and parameters for the pointed element.
| Constructor Summary | |
CmsElementDefinition(CmsElementDefinition primary,
CmsElementDefinition secondary)
Join constructor. |
|
CmsElementDefinition(String name,
String className,
String templateName)
The constructor with name, classname and templateName. |
|
CmsElementDefinition(String name,
String className,
String templateName,
String templateSelector)
The constructor without any parameters. |
|
CmsElementDefinition(String name,
String className,
String templateName,
String templateSelector,
Hashtable elements)
The complete constructor. |
|
| Method Summary | |
String |
getClassName()
Get the class name for the element defined. |
CmsElementDescriptor |
getDescriptor()
Get an element descriptor for looking up the corresponding element of this definition using the element locator |
String |
getName()
Get the name of the element defined. |
String |
getTemplateName()
Get the template name for the element defined. |
String |
getTemplateSelector()
Get the templateSelector of the element defined. |
void |
joinParameters(Hashtable parameter)
This method adds the parameter from the elementDefinition to the requestParameters. |
String |
toString()
Get a string representation of this definition. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CmsElementDefinition(String name,
String className,
String templateName)
name - the name of this element-definition.className - the classname of this element-definition.templateName - the name of the template for this element-definition.
public CmsElementDefinition(String name,
String className,
String templateName,
String templateSelector)
name - the name of this element-definition.className - the classname of this element-definition.templateName - the name of the template.templateSelector - the name of the template selector.
public CmsElementDefinition(String name,
String className,
String templateName,
String templateSelector,
Hashtable elements)
name - the name of this element-definition.className - the classname of this element-definition.templateName - the name of the template.templateSelector - the name of the template selector.elements - a hashtable with parameters.
public CmsElementDefinition(CmsElementDefinition primary,
CmsElementDefinition secondary)
primary - Original object 1 with primary rightssecondary - Original object 2 with primary rights| Method Detail |
public CmsElementDescriptor getDescriptor()
public String getName()
public String getTemplateSelector()
public String getClassName()
public String getTemplateName()
public void joinParameters(Hashtable parameter)
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||