|
||||||||||
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. |
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 obj)
INTERNAL: Add Collection with specified name to to the registry identified by scope . |
Method Detail |
---|
java.lang.Object getCurrentScope()
java.util.Collection getValue(java.lang.String name) throws VariableNotSetException
null
.
VariableNotSetException
- if value is due
to a not set variable not available.java.util.Collection getValue(java.lang.String name, java.util.Collection defaultValue)
void setValue(java.lang.String name, java.util.Collection coll)
void setValue(java.lang.String name, java.lang.Object obj)
void setValueInScope(java.lang.Object scope, java.lang.String name, java.util.Collection obj)
scope
.
java.util.Collection getDefaultValue() throws VariableNotSetException
VariableNotSetException
- if value is due
to a not set variable not available.void setDefaultValue(java.util.Collection coll)
void setDefaultValue(java.lang.Object obj)
void pushScope()
void popScope()
void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |