Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.opencms.template.cache
Class CmsElementLink  view CmsElementLink download CmsElementLink.java

java.lang.Object
  extended bycom.opencms.template.cache.CmsElementLink

public class CmsElementLink
extends java.lang.Object

An instance of CmsElementLink is a link to another element. The link contains only the name of the linked element. Which element is linked will be determinded during the runtime of the content-creation (getContent-method).


Field Summary
(package private)  java.lang.String m_elementName
          The name of the element to link to.
 
Constructor Summary
CmsElementLink(java.lang.String nameToLinkTo)
          Creates a new Element-Link to find out where to link to.
 
Method Summary
 java.lang.String getElementName()
          Returns the name of the element to link to.
 java.lang.String toString()
          Returns the name of the element to link to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_elementName

java.lang.String m_elementName
The name of the element to link to.

Constructor Detail

CmsElementLink

public CmsElementLink(java.lang.String nameToLinkTo)
Creates a new Element-Link to find out where to link to.

Method Detail

toString

public java.lang.String toString()
Returns the name of the element to link to.


getElementName

public java.lang.String getElementName()
Returns the name of the element to link to.