Team LiB
Previous Section Next Section

XPathVariableResolverjavax.xml.xpath

Java 5.0

This interface defines a single method to return the Object value of a variable identified by a qualified name. The value of a named variable is allowed to change between XPath evaluations, but implementations of this interface must ensure that no variable changes during the evaluation of an expression. Objects that implement this interface may be passed to the setXPathVariableResolver( ) methods of XPath or XPathFactory.

public interface XPathVariableResolver {
// Public Instance Methods
     Object resolveVariable(javax.xml.namespace.QName variableName);  
}

Passed To

XPath.setXPathVariableResolver( ), XPathFactory.setXPathVariableResolver( )

Returned By

XPath.getXPathVariableResolver( )

    Team LiB
    Previous Section Next Section