Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.jxpath
Interface Function

All Known Implementing Classes:
  MethodFunction, ConstructorFunction

public interface Function

Extension function interface. Extension functions are grouped into `Functions` objects, which are installed on JXPathContexts using the `JXPathContext.setFunctions()` call.

The Function interface can be implemented directly. However, most of the time JXPath's built-in implementations should suffice. See `ClassFunctions` and `PackageFunctions`.

Version:
  $Revision: 1.5 $ $Date: 2003/03/11 00:59:12 $
Author:
  Dmitri Plotnikov

Method Summary
`java.lang.Object` | `invoke(ExpressionContext context, java.lang.Object[] parameters)` Computes the value of the function.

Method Detail

### invoke

    public java.lang.Object invoke(ExpressionContext context,
                                   java.lang.Object[] parameters)

  Computes the value of the function. Each implementation of Function is responsible for conversion of supplied parameters to the required argument types.
  Parameters:
    `context` - can be used to acquire the context in which the function is being evaluted.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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