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: 1.5 $ $Date: 2003/03/11 00:59:12 $
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

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

getFunction

public 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.


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