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

java.lang.Object
  extended by org.apache.cocoon.portal.aspect.impl.AbstractAspectalizableDescription
      extended by org.apache.cocoon.portal.factory.impl.AbstractProducibleDescription
          extended by org.apache.cocoon.portal.layout.impl.DefaultLayoutDescription
All Implemented Interfaces:
AspectalizableDescription, ProducibleDescription, LayoutDescription

public class DefaultLayoutDescription
extends AbstractProducibleDescription
implements LayoutDescription

A configured layout

Version:
CVS $Id: DefaultLayoutDescription.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
protected  String defaultRendererName
           
protected  String itemClassName
           
protected  List rendererNames
           
 
Fields inherited from class org.apache.cocoon.portal.factory.impl.AbstractProducibleDescription
className, createId, name
 
Fields inherited from class org.apache.cocoon.portal.aspect.impl.AbstractAspectalizableDescription
aspects
 
Constructor Summary
DefaultLayoutDescription()
           
 
Method Summary
 void addRendererName(String name)
           
 String getDefaultRendererName()
           
 String getItemClassName()
           
 Iterator getRendererNames()
           
 void setDefaultRendererName(String string)
           
 void setItemClassName(String itemClassName)
           
 
Methods inherited from class org.apache.cocoon.portal.factory.impl.AbstractProducibleDescription
createId, getClassName, getName, setClassName, setCreateId, setName
 
Methods inherited from class org.apache.cocoon.portal.aspect.impl.AbstractAspectalizableDescription
addAspectDescription, getAspectDescription, getAspectDescriptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.portal.factory.ProducibleDescription
createId, getClassName, getName
 
Methods inherited from interface org.apache.cocoon.portal.aspect.AspectalizableDescription
getAspectDescription, getAspectDescriptions
 

Field Detail

defaultRendererName

protected String defaultRendererName

rendererNames

protected List rendererNames

itemClassName

protected String itemClassName
Constructor Detail

DefaultLayoutDescription

public DefaultLayoutDescription()
Method Detail

getDefaultRendererName

public String getDefaultRendererName()
Specified by:
getDefaultRendererName in interface LayoutDescription
Returns:
the default renderer name

setDefaultRendererName

public void setDefaultRendererName(String string)
Parameters:
string -

getRendererNames

public Iterator getRendererNames()
Specified by:
getRendererNames in interface LayoutDescription
Returns:
the names of all allowed renderers

addRendererName

public void addRendererName(String name)

getItemClassName

public String getItemClassName()
Specified by:
getItemClassName in interface LayoutDescription
Returns:
Returns the itemClassName.

setItemClassName

public void setItemClassName(String itemClassName)
Parameters:
itemClassName - The itemClassName to set.


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