| org.apache.cocoon.portal.aspect.Aspectalizable
All known Subclasses: org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable,
Aspectalizable | public interface Aspectalizable (Code) | | This interface marks an object that can be used by aspects.
An aspect can store any arbitrary information in an aspectalizable object.
author: Carsten Ziegeler author: Volker Schmitt version: CVS $Id: Aspectalizable.java 433543 2006-08-22 06:22:54Z crossley $ |
addPersistentAspectData | void addPersistentAspectData(String aspectName, Object data)(Code) | | |
getAspectData | Object getAspectData(String aspectName)(Code) | | Get the data associated with an aspect
Parameters: aspectName - The aspect name The data or null if the aspect is not associated with this object |
getAspectDatas | Map getAspectDatas()(Code) | | Return all aspect datas
A map of data objects, the keys are built by the aspect names |
getPersistentAspectData | Map getPersistentAspectData()(Code) | | Return all persistent aspect datas
A map of data objects, the keys are built by the aspect names |
isAspectSupported | boolean isAspectSupported(String aspectName)(Code) | | Is this aspect supported
|
setAspectData | void setAspectData(String aspectName, Object data)(Code) | | Set the data associated with an aspect
The data is only set if the object is associated with the given aspect
Parameters: aspectName - The aspect name Parameters: data - The data |
setAspectDataHandler | void setAspectDataHandler(AspectDataHandler handler)(Code) | | This method is invoked once to set the handler
|
|
|