|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ideo.sweetdevria.taglib.context.ContextManager
public class ContextManager
Manage the contexts all along the page evaluation
Field Summary | |
---|---|
static java.lang.String |
REQUEST_CONTEXT_MANAGER
|
Constructor Summary | |
---|---|
protected |
ContextManager()
|
Method Summary | |
---|---|
java.lang.String |
getContext()
Return the current running context, or null if none have been pushed |
void |
popContext()
Remove the last context added |
void |
popContext(java.lang.String id)
Pop a context from the stack |
void |
pushContext(java.lang.String id)
Push a new context into the stack |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String REQUEST_CONTEXT_MANAGER
Constructor Detail |
---|
protected ContextManager()
Method Detail |
---|
public void pushContext(java.lang.String id)
id
- the id of the context to pushpublic void popContext(java.lang.String id)
id
- the id of the context to pop, as a validation. If the id sent is different of the one at the top of the stack, an exception is thrown
java.lang.IllegalArgumentException
- if the id sent is different of the one at the top of the stackpublic void popContext()
public java.lang.String getContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |