|
|||||||||||
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 Layout
public void setName(String string)
string
- public void setDescription(LayoutDescription description)
setDescription
in interface Layout
public String getId()
getId
in interface Layout
public void setId(String id)
public void initialize(String name, String id)
initialize
in interface Layout
public String getRendererName()
Layout
Renderer
to draw this layout.
If this layout has an own renderer Layout.getLayoutRendererName()
return this, otherwise the default renderer is returned.
getRendererName
in interface Layout
Layout.getRendererName()
public void setLayoutRendererName(String value)
public Item getParent()
getParent
in interface Layout
public void setParent(Item item)
setParent
in interface Layout
public String getLayoutRendererName()
Layout
Renderer
for this layout.
getLayoutRendererName
in interface Layout
Layout.getLayoutRendererName()
public String getTemporaryParameter(String key)
Layout
getTemporaryParameter
in interface Layout
key
- The name of the parameter.
Layout.getTemporaryParameter(java.lang.String)
public Map getTemporaryParameters()
Layout
getTemporaryParameters
in interface Layout
Layout.getTemporaryParameters()
public void setTemporaryParameter(String key, String value)
Layout
setTemporaryParameter
in interface Layout
key
- The name of the parameter.value
- The value.Layout.setTemporaryParameter(java.lang.String, java.lang.String)
protected Object clone() throws CloneNotSupportedException
clone
in class AbstractParameters
CloneNotSupportedException
Object.clone()
public Layout copy()
Layout
copy
in interface Layout
Layout.copy()
public String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |