org.exolab.adaptx.xpath

Class VariableSet

public abstract class VariableSet extends Object implements Serializable

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: XPathResult XPathExpression

Method Summary
abstract XPathResultgetVariable(String name)
Returns the value of a variable.

Method Detail

getVariable

public abstract XPathResult getVariable(String name)
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