org.inria.ns.reflex.xml.xpath
Interface XPathFunctionResolver

All Known Implementing Classes:
JaxenXPathFunctionResolver

public interface XPathFunctionResolver

An XPathFunctionResolver is used to resolve function calls. XPath functions are resolved by their qualified name.

Author:
Philippe Poulard

Field Summary
static XPathFunctionResolver NATIVE_XPATH_FUNCTION_RESOLVER
          The standard XPath functions.
 
Method Summary
 XPathFunction resolveFunction(QName functionName)
          Retrieve the XPath function that has the given name.
 

Field Detail

NATIVE_XPATH_FUNCTION_RESOLVER

static final XPathFunctionResolver NATIVE_XPATH_FUNCTION_RESOLVER
The standard XPath functions.

Method Detail

resolveFunction

XPathFunction resolveFunction(QName functionName)
                              throws XPathFunctionException
Retrieve the XPath function that has the given name.

Parameters:
functionName - The qualified name of the function.
Throws:
XPathFunctionException - If the expected function is not found.