|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.cocoon.portal.layout.AbstractParameters
org.apache.cocoon.portal.layout.AbstractLayout
FIXME - We have to remove the dependency to pluto
| Field Summary | |
protected LayoutDescription |
description
TODO we should remove the description from here. |
protected String |
id
|
protected String |
name
|
protected Item |
parent
|
protected String |
rendererName
|
protected Map |
temporaryParameters
The temporary parameters. |
| Fields inherited from class org.apache.cocoon.portal.layout.AbstractParameters |
parameters |
| Constructor Summary | |
AbstractLayout()
|
|
| Method Summary | |
protected Object |
clone()
|
Layout |
copy()
Make a copy of this layout object and of all it's children. |
String |
getId()
Get the unique id of this object |
String |
getLayoutRendererName()
Get the name of a custom Renderer for this layout. |
String |
getName()
The name given from the factory. |
Item |
getParent()
|
String |
getRendererName()
Get the name of the Renderer to draw this layout.
|
String |
getTemporaryParameter(String key)
Return the temporary parameter value for the given key. |
Map |
getTemporaryParameters()
Get the temporary parameters map. |
void |
initialize(String name,
String id)
Initialize the object. |
void |
setDescription(LayoutDescription description)
Set the layout description |
void |
setId(String id)
Set the unique id of this object |
void |
setLayoutRendererName(String value)
|
void |
setName(String string)
|
void |
setParent(Item item)
|
void |
setTemporaryParameter(String key,
String value)
Set the temporary parameter to a value. |
String |
toString()
|
| Methods inherited from class org.apache.cocoon.portal.layout.AbstractParameters |
addParameter, getCastorParameters, getParameter, getParameters, setParameter |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.cocoon.portal.layout.Layout |
getParameter, getParameters, setParameter |
| Field Detail |
protected String rendererName
protected Item parent
protected String name
protected String id
protected transient LayoutDescription description
protected Map temporaryParameters
| Constructor Detail |
public AbstractLayout()
| Method Detail |
public String getName()
Layout
getName in interface Layoutpublic void setName(String string)
string - public void setDescription(LayoutDescription description)
setDescription in interface Layoutpublic String getId()
getId in interface Layoutpublic void setId(String id)
public void initialize(String name,
String id)
initialize in interface Layoutpublic String getRendererName()
LayoutRenderer to draw this layout.
If this layout has an own renderer Layout.getLayoutRendererName()
return this, otherwise the default renderer is returned.
getRendererName in interface LayoutLayout.getRendererName()public void setLayoutRendererName(String value)
public Item getParent()
getParent in interface Layoutpublic void setParent(Item item)
setParent in interface Layoutpublic String getLayoutRendererName()
LayoutRenderer for this layout.
getLayoutRendererName in interface LayoutLayout.getLayoutRendererName()public String getTemporaryParameter(String key)
Layout
getTemporaryParameter in interface Layoutkey - The name of the parameter.
Layout.getTemporaryParameter(java.lang.String)public Map getTemporaryParameters()
Layout
getTemporaryParameters in interface LayoutLayout.getTemporaryParameters()
public void setTemporaryParameter(String key,
String value)
Layout
setTemporaryParameter in interface Layoutkey - The name of the parameter.value - The value.Layout.setTemporaryParameter(java.lang.String, java.lang.String)
protected Object clone()
throws CloneNotSupportedException
clone in class AbstractParametersCloneNotSupportedExceptionObject.clone()public Layout copy()
Layout
copy in interface LayoutLayout.copy()public String toString()
Object.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||