com.werken.xpath
public class DefaultVariableContext extends Object implements VariableContext
A VariableContext implementation based upon a java.util.HashMap for simple name-value mappings.
Method Summary | |
---|---|
Object | getVariableValue(String name) Resolve a variable binding
Retrieve the currently bound value of the named variable, or null if no such binding exists. |
void | setVariableValue(String name, Object value) Set a variable finding
Set the value of a named variable. |
Retrieve the currently bound value of the named variable, or null if no such binding exists.
Parameters: name The name of the variable sought.
Returns: The currently bound value of the variable, or null.
See Also: ContextSupport ContextSupport
Set the value of a named variable.
Parameters: name The name of the variable to bind to the value value The value to bind to the variable name.