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

## com.novell.xml.xpath
Interface FunctionLibrary

All Known Implementing Classes:
  ExtensibleFunctionLibrary, FunctionLibraryImpl, StylesheetParser, XsltFunctionLibrary

    public interface FunctionLibrary

An interface for binding providing a function library for evaluating XPath expressions

See Also:
  `ExpressionContext`

Method Summary
`void` | `addFunction(Function function)` Add a function to the library
`Function` | `getFunction(ExpandedQName name)` Return an object of type Function given the function name.
`boolean` | `isFunctionAvailable(ExpressionContext context, ExpandedQName name)` Return `true` if a function under a given name is available

Method Detail

### getFunction

    Function getFunction(ExpandedQName name)
                         throws XPathParserException

  Return an object of type Function given the function name.

  Parameters:
    `name` - The name of the function
  Returns:
    a Function object
  Throws:
    `XPathParserException`

### isFunctionAvailable

    boolean isFunctionAvailable(ExpressionContext context,
                                ExpandedQName name)

  Return `true` if a function under a given name is available

  Parameters:
    `context` - the expression context
    `name` - name of the function

### addFunction

    void addFunction(Function function)

  Add a function to the library

  Parameters:
    `function` - The function to bind.

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