Package org.apache.commons.jxpath
Interface Functions
-
- All Known Implementing Classes:
ClassFunctions
,FunctionLibrary
,PackageFunctions
public interface Functions
A group of Function objects sharing a common namespace or a set of common namespaces. Use the classesClassFunctions
andPackageFunctions
to register extension functions implemented as Java methods.- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
- Author:
- Dmitri Plotnikov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Function
getFunction(java.lang.String namespace, java.lang.String name, java.lang.Object[] parameters)
Returns a Function, if any, for the specified namespace, name and parameter types.java.util.Set
getUsedNamespaces()
Returns all namespaces in which this function collection defines functions.
-
-
-
Method Detail
-
getUsedNamespaces
java.util.Set getUsedNamespaces()
Returns all namespaces in which this function collection defines functions.- Returns:
- Set
-
getFunction
Function getFunction(java.lang.String namespace, java.lang.String name, java.lang.Object[] parameters)
Returns a Function, if any, for the specified namespace, name and parameter types.- Parameters:
namespace
- nsname
- function nameparameters
- Object[]- Returns:
- Function
-
-