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

## org.basex.query.xquery.func
Class FNIndex

    java.lang.Object
      org.basex.util.Set
          org.basex.query.xquery.func.FNIndex

    public final class FNIndex

extends Set

Global expression context.

Author:
  Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen

Field Summary

Fields inherited from class org.basex.util.Set
`size`

Method Summary
`void` | `error(byte[] name)` Finds similar function names for throwing an error message.
`static FNIndex` | `get()` Gets the function instance.
`Fun` | `get(byte[] name, Expr[] args)` Returns the specified function.

Methods inherited from class org.basex.util.Set
`add, id, key, keys, size`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### error

    public void error(byte[] name)
               throws XQException

  Finds similar function names for throwing an error message.

  Parameters:
    `name` - function name
  Throws:
    `XQException` - evaluation exception

### get

    public static FNIndex get()

  Gets the function instance.

  Returns:
    instance

### get

    public Fun get(byte[] name,
                   Expr[] args)
            throws XQException

  Returns the specified function.

  Parameters:
    `name` - name of the function
    `args` - optional arguments
  Returns:
    function instance
  Throws:
    `XQException` - evaluation exception

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