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:
- Aspectalizable, Cloneable, Layout, Parameters, Producible
- Direct Known Subclasses:
- CompositeLayoutImpl, CopletLayout, FrameLayout, LinkLayout
- public abstract class AbstractLayout
- extends AbstractProducible
- implements Layout, Parameters
- Version:
- CVS $Id: AbstractLayout.java 433543 2006-08-22 06:22:54Z crossley $
- 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-2006 The Apache Software Foundation. All Rights Reserved.