Cocoon API: Interface Director
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Director is an actor manager. Actors refer to their director to get the actor associated to the respective role. This is useful to decouple the acting role from the actual class performing that part in the play.
Method Summary | |
java.lang.Object |
getActor(java.lang.String role)
Get the actor currently playing the given role. |
java.util.Enumeration |
getRoles()
Get the roles currently set. |
void |
setRole(java.lang.String role,
java.lang.Object actor)
Set the actor for the role. |
Method Detail |
public java.lang.Object getActor(java.lang.String role)
public void setRole(java.lang.String role, java.lang.Object actor)
public java.util.Enumeration getRoles()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |