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(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 - ns
name - function name
parameters - Object[]
Returns:
Function


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.