|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextManagerIF
INTERNAL: Interface which have to be implemented by classes managing the context of a complete sub-hierarchy.
Method Summary | |
---|---|
void |
clear()
INTERNAL: Clear all variables hold on stack. |
Object |
getCurrentScope()
INTERNAL: Gets the current lexical scope. |
Collection |
getDefaultValue()
INTERNAL: Gets the default value in the current scope. |
Collection |
getValue(String name)
INTERNAL: Gets value for specified variable name. |
Collection |
getValue(String name,
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(Collection coll)
INTERNAL: Sets the default value in the current scope. |
void |
setDefaultValue(Object obj)
INTERNAL: Sets the default value in the current scope. |
void |
setValue(String name,
Collection coll)
INTERNAL: Add Collection with specified name to registry. |
void |
setValue(String name,
Object obj)
INTERNAL: Add Collection with specified name to registry. |
void |
setValueInScope(Object scope,
String name,
Collection obj)
INTERNAL: Add Collection with specified name to to the registry identified by scope . |
Method Detail |
---|
Object getCurrentScope()
Collection getValue(String name) throws VariableNotSetException
null
.
VariableNotSetException
- if value is due
to a not set variable not available.Collection getValue(String name, Collection defaultValue)
void setValue(String name, Collection coll)
void setValue(String name, Object obj)
void setValueInScope(Object scope, String name, Collection obj)
scope
.
Collection getDefaultValue() throws VariableNotSetException
VariableNotSetException
- if value is due
to a not set variable not available.void setDefaultValue(Collection coll)
void setDefaultValue(Object obj)
void pushScope()
void popScope()
void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |