Package org.exolab.adaptx.xpath
Class VariableSet
java.lang.Object
org.exolab.adaptx.xpath.VariableSet
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
VariableSetImpl
An abstract class which allows the use of variables when
evaluating XPath expressions. A variable is a binding
between a string name and an XPathResult.
- Version:
- $Revision: 3633 $
- Author:
- Keith Visco
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract XPathResult
getVariable
(String name) Returns the value of a variable.
-
Constructor Details
-
VariableSet
public VariableSet()
-
-
Method Details
-
getVariable
Returns the value of a variable. Returns null if a variable with this name was not found in this variable bindings.- Parameters:
name
- The variable name- Returns:
- The variable's value as an XPathResult, or null
-