|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.portal.aspect.impl.AbstractAspectalizable
public abstract class AbstractAspectalizable
Field Summary | |
---|---|
protected AspectDataHandler |
aspectDataHandler
|
protected Map |
persistentDatas
|
Constructor Summary | |
---|---|
AbstractAspectalizable()
|
Method Summary | |
---|---|
void |
addPersistentAspectData(String aspectName,
Object data)
|
protected Object |
clone()
|
Object |
getAspectData(String aspectName)
Get the data associated with an aspect |
Map |
getAspectDatas()
Return all aspect datas |
Map |
getPersistentAspectData()
Return all persistent aspect datas |
boolean |
isAspectSupported(String aspectName)
Is this aspect supported |
void |
setAspectData(String aspectName,
Object data)
Set the data associated with an aspect The data is only set if the object is associated with the given aspect |
void |
setAspectDataHandler(AspectDataHandler handler)
This method is invoked once to set the handler |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient AspectDataHandler aspectDataHandler
protected transient Map persistentDatas
Constructor Detail |
---|
public AbstractAspectalizable()
Method Detail |
---|
public boolean isAspectSupported(String aspectName)
isAspectSupported
in interface Aspectalizable
public Object getAspectData(String aspectName)
Aspectalizable
getAspectData
in interface Aspectalizable
aspectName
- The aspect name
public void setAspectData(String aspectName, Object data)
Aspectalizable
setAspectData
in interface Aspectalizable
aspectName
- The aspect namedata
- The datapublic Map getAspectDatas()
Aspectalizable
getAspectDatas
in interface Aspectalizable
public Map getPersistentAspectData()
Aspectalizable
getPersistentAspectData
in interface Aspectalizable
public void setAspectDataHandler(AspectDataHandler handler)
setAspectDataHandler
in interface Aspectalizable
public void addPersistentAspectData(String aspectName, Object data)
addPersistentAspectData
in interface Aspectalizable
protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |