XPathVariableResolver


XPathVariableResolver javax.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( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net