public interface NamespaceResolver
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.
Modifier and Type | Method and Description |
---|---|
Object |
resolveNamespace(String name)
Resolves a namespace by its name.
|
Copyright © 2020 Internet2. All rights reserved.