org.apache.cocoon.portal.layout.impl
Class LinkLayout

java.lang.Object
  extended by org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable
      extended by org.apache.cocoon.portal.factory.impl.AbstractProducible
          extended by org.apache.cocoon.portal.layout.AbstractLayout
              extended by org.apache.cocoon.portal.layout.impl.LinkLayout
All Implemented Interfaces:
Cloneable, Aspectalizable, Producible, Layout, Parameters

public class LinkLayout
extends AbstractLayout
implements Layout

A link layout references another layout to be used instead. The reference can be changed using events.

Version:
CVS $Id: LinkLayout.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler, Volker Schmitt, Jürgen Seitz

Field Summary
protected  String linkedLayoutId
           
protected  String linkedLayoutKey
           
 
Fields inherited from class org.apache.cocoon.portal.layout.AbstractLayout
parameters, parent, rendererName
 
Fields inherited from class org.apache.cocoon.portal.factory.impl.AbstractProducible
description, id, name
 
Fields inherited from class org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable
aspectDataHandler, persistentDatas
 
Constructor Summary
LinkLayout()
           
 
Method Summary
protected  Object clone()
           
 String getLayoutId()
           
 String getLayoutKey()
           
 void setLayoutId(String layoutId)
           
 void setLayoutKey(String key)
           
 
Methods inherited from class org.apache.cocoon.portal.layout.AbstractLayout
addParameter, copy, getCastorParameters, getLayoutRendererName, getParameters, getParent, getRendererName, setLayoutRendererName, setParent
 
Methods inherited from class org.apache.cocoon.portal.factory.impl.AbstractProducible
getId, getName, initialize, setDescription, setId, setName
 
Methods inherited from class org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable
addPersistentAspectData, getAspectData, getAspectDatas, getPersistentAspectData, isAspectSupported, setAspectData, setAspectDataHandler
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.portal.layout.Layout
copy, getLayoutRendererName, getParent, getRendererName, setParent
 
Methods inherited from interface org.apache.cocoon.portal.layout.Parameters
getParameters
 
Methods inherited from interface org.apache.cocoon.portal.factory.Producible
getId, getName, initialize, setDescription
 
Methods inherited from interface org.apache.cocoon.portal.aspect.Aspectalizable
addPersistentAspectData, getAspectData, getAspectDatas, getPersistentAspectData, isAspectSupported, setAspectData, setAspectDataHandler
 

Field Detail

linkedLayoutKey

protected String linkedLayoutKey

linkedLayoutId

protected String linkedLayoutId
Constructor Detail

LinkLayout

public LinkLayout()
Method Detail

setLayoutId

public void setLayoutId(String layoutId)

getLayoutId

public String getLayoutId()

getLayoutKey

public String getLayoutKey()

setLayoutKey

public void setLayoutKey(String key)

clone

protected Object clone()
                throws CloneNotSupportedException
Overrides:
clone in class AbstractLayout
Throws:
CloneNotSupportedException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.