org.apache.cocoon.portal.layout
Class AbstractParameters

java.lang.Object
  extended byorg.apache.cocoon.portal.layout.AbstractParameters
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
AbstractLayout, Item

public abstract class AbstractParameters
extends Object
implements Cloneable

Version:
$Id: AbstractParameters.java 328028 2005-10-24 10:48:38Z cziegeler $

Field Summary
protected  Map parameters
           
 
Constructor Summary
AbstractParameters()
           
 
Method Summary
 void addParameter(org.apache.pluto.om.common.Parameter parameter)
           
protected  Object clone()
           
 Set getCastorParameters()
           
 String getParameter(String key)
          Return the parameter value for the given key.
 Map getParameters()
           
 void setParameter(String key, String value)
          Set the parameter to a value.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parameters

protected Map parameters
Constructor Detail

AbstractParameters

public AbstractParameters()
Method Detail

getParameters

public final Map getParameters()

getCastorParameters

public final Set getCastorParameters()

addParameter

public void addParameter(org.apache.pluto.om.common.Parameter parameter)

getParameter

public String getParameter(String key)
Return the parameter value for the given key.

Parameters:
key - The name of the parameter.
Returns:
The value of the parameter or null.

setParameter

public void setParameter(String key,
                         String value)
Set the parameter to a value.

Parameters:
key - The name of the parameter.
value - The value.

clone

protected Object clone()
                throws CloneNotSupportedException
Throws:
CloneNotSupportedException
See Also:
Object.clone()


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.