|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.template.LocalVariableMap
public class LocalVariableMap
This class contains a map intended to hold the definition of local variables.
| Constructor Summary | |
|---|---|
LocalVariableMap()
Create an instance that contains no local variable mappings initially. |
|
LocalVariableMap(ListResource argv)
Create an instance that contains mappings for the variables ARGV and ARGC. |
|
| Method Summary | |
|---|---|
Element |
get(java.lang.String name)
Lookup the value associated with the given variable name. |
Element |
put(java.lang.String name,
Element value)
Assign the value to the given variable name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalVariableMap()
public LocalVariableMap(ListResource argv)
argv - ListResource to use to set ARGV and ARGC variables| Method Detail |
|---|
public Element get(java.lang.String name)
name - variable name to lookup
public Element put(java.lang.String name,
Element value)
name - variable name to assign value tovalue - Element to assign to the given variable name; variable is
removed if the value is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||