Class VariableSet

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    VariableSetImpl

    public abstract class VariableSet
    extends java.lang.Object
    implements java.io.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, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      VariableSet()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract XPathResult getVariable​(java.lang.String name)
      Returns the value of a variable.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VariableSet

        public VariableSet()
    • Method Detail

      • getVariable

        public abstract XPathResult getVariable​(java.lang.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