|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IVariableNamespace
This defines the ability of a component to support generic key/value mappings from string to string.
Variables are used most often for string replacements. You should not use this feature for parameter or attribute passing between components.
| Method Summary | |
|---|---|
String |
getVariable(String key)
The string variable stored with key. |
String |
getVariable(String key,
String defaultValue)
The string variable stored with key or
defaultValue if the result would be null. |
Iterator |
getVariableIterator()
An iterator over the entries (Map.Entry) of the Map. |
Map |
getVariables()
The map holding the assoications from names to values. |
void |
putVariable(String key,
String value)
Enter a name/value binding in the map. |
| Method Detail |
|---|
String getVariable(String key)
key.
key - The name of the string variable
key.
String getVariable(String key,
String defaultValue)
key or
defaultValue if the result would be null.
key - The name of the string variabledefaultValue - The value to use if result would be null
key or
defaultValue if the result would be
null.Iterator getVariableIterator()
Map getVariables()
void putVariable(String key,
String value)
key - The name of the string variablevalue - The value to use for the variable.
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||