org.inria.ns.reflex.xml.provider.jaxen
Class JaxenXPathFunctionResolver

java.lang.Object
  extended by org.inria.ns.reflex.xml.provider.jaxen.JaxenXPathFunctionResolver
All Implemented Interfaces:
XPathFunctionResolver

public class JaxenXPathFunctionResolver
extends Object
implements XPathFunctionResolver

The default XPath function resolver backed by Jaxen that provides implementations for the standard XPath function library, and implementations for Active Tags core XPath functions.

Author:
Philippe Poulard

Nested Class Summary
static class JaxenXPathFunctionResolver.JaxenXPathFunction
          Wraps a native Jaxen function inside an ActiveTags function.
 
Field Summary
 
Fields inherited from interface org.inria.ns.reflex.xml.xpath.XPathFunctionResolver
NATIVE_XPATH_FUNCTION_RESOLVER
 
Constructor Summary
JaxenXPathFunctionResolver()
           
 
Method Summary
 XPathFunction resolveFunction(QName functionName)
          Retrieve the XPath function that has the given name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxenXPathFunctionResolver

public JaxenXPathFunctionResolver()
Method Detail

resolveFunction

public XPathFunction resolveFunction(QName functionName)
                              throws XPathFunctionException
Description copied from interface: XPathFunctionResolver
Retrieve the XPath function that has the given name.

Specified by:
resolveFunction in interface XPathFunctionResolver
Parameters:
functionName - The qualified name of the function.
Throws:
XPathFunctionException - If the expected function is not found.