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

## org.apache.commons.jexl3
Interface JexlContext.NamespaceResolver

All Known Implementing Classes:
  ObjectContext

Enclosing interface:
  JexlContext

    public static interface JexlContext.NamespaceResolver

A marker interface of the JexlContext that declares how to resolve a namespace from its name; it is used by the interpreter during evaluation.

In JEXL, a namespace is an object that serves the purpose of encapsulating functions; for instance, the "math" namespace would be the proper object to expose functions like "log(...)", "sinus(...)", etc.

In expressions like "ns:function(...)", the resolver is called with resolveNamespace("ns").

JEXL itself reserves 'jexl' and 'ujexl' as namespaces for internal purpose; resolving those may lead to unexpected results.

Since:
  3.0

Method Summary
`Object` | `resolveNamespace(String name)` Resolves a namespace by its name.

Method Detail

### resolveNamespace

    Object resolveNamespace(String name)

  Resolves a namespace by its name.

  Parameters:
    `name` - the name
  Returns:
    the namespace object

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

Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.