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.

Version:
$Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
Author:
Dmitri Plotnikov

Method Summary
 Function getFunction(String namespace, String name, Object[] parameters)
          Returns a Function, if any, for the specified namespace, name and parameter types.
 Set getUsedNamespaces()
          Returns all namespaces in which this function collection defines functions.
 

Method Detail

getUsedNamespaces

Set getUsedNamespaces()
Returns all namespaces in which this function collection defines functions.

Returns:
Set

getFunction

Function getFunction(String namespace,
                     String name,
                     Object[] parameters)
Returns a Function, if any, for the specified namespace, name and parameter types.

Parameters:
namespace - ns
name - function name
parameters - Object[]
Returns:
Function


Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.