This project has retired. For details please refer to its
Attic page .
AbstractLayout (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.portal.layout
Class AbstractLayout
java.lang.Object
org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable
org.apache.cocoon.portal.factory.impl.AbstractProducible
org.apache.cocoon.portal.layout.AbstractLayout
All Implemented Interfaces: Cloneable , Aspectalizable , Producible , Layout , Parameters
Direct Known Subclasses: CompositeLayoutImpl , CopletLayout , FrameLayout , LinkLayout
public abstract class AbstractLayout extends AbstractProducible implements Layout , Parameters
Version:
CVS $Id: AbstractLayout.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler , Volker Schmitt
rendererName
protected String rendererName
parent
protected Item parent
parameters
protected Map parameters
AbstractLayout
public AbstractLayout ()
getParameters
public final Map getParameters ()
Description copied from interface: Parameters
Get custom parameters as List of
org.apache.cocoon.portal.layout.impl.Parameters. This method
never returns null.
Specified by: getParameters
in interface Parameters
Returns: List
getCastorParameters
public final Set getCastorParameters ()
addParameter
public void addParameter (org.apache.pluto.om.common.Parameter parameter)
getRendererName
public String getRendererName ()
Description copied from interface: Layout
Get the name of the Renderer
to draw this layout.
If this layout has an own renderer Layout.getLayoutRendererName()
return this, otherwise the default renderer is returned.
Specified by: getRendererName
in interface Layout
Returns: String The role name See Also: Layout.getRendererName()
setLayoutRendererName
public void setLayoutRendererName (String value)
getParent
public Item getParent ()
Specified by: getParent
in interface Layout
setParent
public void setParent (Item item)
Specified by: setParent
in interface Layout
getLayoutRendererName
public String getLayoutRendererName ()
Description copied from interface: Layout
Get the name of a custom Renderer
for this layout.
Specified by: getLayoutRendererName
in interface Layout
Returns: String The role name
clone
protected Object clone ()
throws CloneNotSupportedException
Overrides: clone
in class AbstractProducible
Throws:
CloneNotSupportedException
copy
public Layout copy ()
Description copied from interface: Layout
Make a copy of this layout object and of all it's children.
This includes copies of items and copletinstancedatas.
Specified by: copy
in interface Layout
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.