|
|||||||||
| 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 CmsElementDescriptor

java.lang.Objectcom.opencms.template.cache.CmsElementDescriptor
- public class CmsElementDescriptor
- extends java.lang.Object
This descriptor is used to locate CmsElement-Objects with the CmsElementLocator. It is the key for a CmsElement.
| Field Summary | |
private java.lang.String |
m_className
The name of the class for this descriptor. |
private java.lang.String |
m_templateName
The name of the template-file for this descriptor. |
| Constructor Summary | |
CmsElementDescriptor(java.lang.String className,
java.lang.String templateName)
The constructor to create a new CmsElementDescriptor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares the overgiven object with this object. |
java.lang.String |
getClassName()
Get the class name for the element defined. |
java.lang.String |
getKey()
Returns the key of this descriptor. |
java.lang.String |
getTemplateName()
Get the template name for the element defined. |
int |
hashCode()
We have to return a hashcode for the hashtable. |
java.lang.String |
toString()
toString methode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
m_className
private java.lang.String m_className
- The name of the class for this descriptor.
m_templateName
private java.lang.String m_templateName
- The name of the template-file for this descriptor.
| Constructor Detail |
CmsElementDescriptor
public CmsElementDescriptor(java.lang.String className, java.lang.String templateName)
- The constructor to create a new CmsElementDescriptor.
| Method Detail |
getKey
public java.lang.String getKey()
- Returns the key of this descriptor.
getClassName
public java.lang.String getClassName()
- Get the class name for the element defined.
getTemplateName
public java.lang.String getTemplateName()
- Get the template name for the element defined.
hashCode
public int hashCode()
- We have to return a hashcode for the hashtable. We can use the hashcode
from the Strings m_className and m_templatename.
equals
public boolean equals(java.lang.Object obj)
- Compares the overgiven object with this object.
toString
public java.lang.String toString()
- toString methode
|
|||||||||
| 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.CmsElementDescriptor