|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.nav2.impl.basic.ContextManager
public class ContextManager
INTERNAL: Default Implementation of ContextManagerIF.
| Constructor Summary | |
|---|---|
ContextManager(javax.servlet.jsp.PageContext pageContext)
|
|
| Method Summary | |
|---|---|
void |
clear()
INTERNAL: Clear all variables hold on stack. |
java.lang.Object |
getCurrentScope()
INTERNAL: Gets the current lexical scope. |
java.util.Collection |
getDefaultValue()
INTERNAL: Gets the default value in the current scope. |
java.util.Collection |
getValue(java.lang.String name)
INTERNAL: Gets value for specified variable name. |
java.util.Collection |
getValue(java.lang.String name,
java.util.Collection defaultValue)
INTERNAL: Gets value for specified variable name. |
void |
popScope()
INTERNAL: Removes the current set of variables at the top of this stack. |
void |
pushScope()
INTERNAL: Pushes a new set of variables (name/collection-pairs) onto the top of this stack. |
void |
setDefaultValue(java.util.Collection coll)
INTERNAL: Sets the default value in the current scope. |
void |
setDefaultValue(java.lang.Object obj)
INTERNAL: Sets the default value in the current scope. |
void |
setValue(java.lang.String name,
java.util.Collection coll)
INTERNAL: Add Collection with specified name to registry. |
void |
setValue(java.lang.String name,
java.lang.Object obj)
INTERNAL: Add Collection with specified name to registry. |
void |
setValueInScope(java.lang.Object scope,
java.lang.String name,
java.util.Collection coll)
INTERNAL: Add Collection with specified name to to the registry identified by scope. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextManager(javax.servlet.jsp.PageContext pageContext)
| Method Detail |
|---|
public java.util.Collection getValue(java.lang.String name)
throws VariableNotSetException
ContextManagerIFnull.
getValue in interface ContextManagerIFVariableNotSetException - if value is due
to a not set variable not available.
public java.util.Collection getValue(java.lang.String name,
java.util.Collection defaultValue)
ContextManagerIF
getValue in interface ContextManagerIF
public void setValue(java.lang.String name,
java.util.Collection coll)
ContextManagerIF
setValue in interface ContextManagerIF
public void setValueInScope(java.lang.Object scope,
java.lang.String name,
java.util.Collection coll)
ContextManagerIFscope.
setValueInScope in interface ContextManagerIF
public void setValue(java.lang.String name,
java.lang.Object obj)
ContextManagerIF
setValue in interface ContextManagerIFpublic java.util.Collection getDefaultValue()
ContextManagerIF
getDefaultValue in interface ContextManagerIFpublic void setDefaultValue(java.util.Collection coll)
ContextManagerIF
setDefaultValue in interface ContextManagerIFpublic void setDefaultValue(java.lang.Object obj)
ContextManagerIF
setDefaultValue in interface ContextManagerIFpublic java.lang.Object getCurrentScope()
ContextManagerIF
getCurrentScope in interface ContextManagerIFpublic void pushScope()
ContextManagerIF
pushScope in interface ContextManagerIFpublic void popScope()
ContextManagerIF
popScope in interface ContextManagerIFpublic void clear()
ContextManagerIF
clear in interface ContextManagerIF
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||