|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContentHandler
The content handler act as a factory for Content objects from their state. The interface receives also
callbacks of the content lifecycle in order to be able to manage additional resources related to the content.
| Method Summary | |
|---|---|
void |
contentCreated(java.lang.String contextId,
ContentState state)
Life cycle method to signal state creation. |
void |
contentDestroyed(java.lang.String contextId,
ContentState state)
Life cycle method to signal state destruction. |
Content |
newContent(java.lang.String contextId,
ContentState state)
Factory method that creates an instance of content object. |
| Method Detail |
|---|
Content newContent(java.lang.String contextId,
ContentState state)
contextId - the context id in which the state is usedstate - the state
void contentCreated(java.lang.String contextId,
ContentState state)
contextId - the context id in which the state is createdstate - the state
void contentDestroyed(java.lang.String contextId,
ContentState state)
contextId - the context id in which the state is destroyedstate - the state
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||