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 classes
ClassFunctions and
PackageFunctions to register extension functions implemented as Java methods.-
Method Summary
Modifier and TypeMethodDescriptiongetFunction(String namespace, String name, Object[] parameters) Gets a Function, if any, for the specified namespace, name and parameter types.Gets all namespaces in which this function collection defines functions.
-
Method Details
-
getFunction
Gets a Function, if any, for the specified namespace, name and parameter types.- Parameters:
namespace- nsname- function nameparameters- Object[]- Returns:
- Function
-
getUsedNamespaces
Gets all namespaces in which this function collection defines functions.- Returns:
- all namespaces in which this function collection defines functions.
-