org.exolab.adaptx.xpath
public final class VariableSetImpl extends VariableSet
Version: $Revision: 3633 $
See Also: XPathResult XPathExpression
| Constructor Summary | |
|---|---|
| VariableSetImpl()
Constructs a new empty set of variable bindings.
| |
| VariableSetImpl(VariableSet parent)
Constructs a new empty variable binding with reference to
a parent variable binding. | |
| Method Summary | |
|---|---|
| void | clear()
Removes the current variable bindings from this VariableSet
|
| XPathResult | getVariable(String name)
Returns the value of a variable. |
| void | setVariable(String name, XPathResult value)
Binds the XPath result to the variable name. |
Parameters: parent The parent variable binding (may be null)
Parameters: name The variable name
Returns: The variable's value as an XPath result, or null
Parameters: name The variable name value The variable's value