Class VariableSet

java.lang.Object
org.exolab.adaptx.xpath.VariableSet
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
VariableSetImpl

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:
  • Constructor Details

    • VariableSet

      public VariableSet()
  • Method Details

    • 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