| Package | Description |
|---|---|
| org.zkoss.util.resource |
Resources and their locators and loaders.
|
| org.zkoss.util.resource.impl |
Implementation of resources and their locators and loaders.
|
| org.zkoss.xel |
XEL - Extensible Expression Language to encapsulate different
implementations, such as EL, MVEL and OGNL.
|
| org.zkoss.xel.util |
Utilties of XEL expressions.
|
| Modifier and Type | Method and Description |
|---|---|
static VariableResolver |
Labels.setVariableResolver(VariableResolver resolv)
Sets the variable resolver, which is used if an EL expression
is specified.
|
| Modifier and Type | Method and Description |
|---|---|
static VariableResolver |
Labels.setVariableResolver(VariableResolver resolv)
Sets the variable resolver, which is used if an EL expression
is specified.
|
| Modifier and Type | Method and Description |
|---|---|
VariableResolver |
LabelLoaderImpl.setVariableResolver(VariableResolver resolv)
Sets the variable resolver, which is used if an EL expression
is specified.
|
VariableResolver |
LabelLoader.setVariableResolver(VariableResolver resolv)
Sets the variable resolver, which is used if an EL expression
is specified.
|
| Modifier and Type | Method and Description |
|---|---|
VariableResolver |
LabelLoaderImpl.setVariableResolver(VariableResolver resolv)
Sets the variable resolver, which is used if an EL expression
is specified.
|
VariableResolver |
LabelLoader.setVariableResolver(VariableResolver resolv)
Sets the variable resolver, which is used if an EL expression
is specified.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
VariableResolverX
An extension of
VariableResolver to have more control to
resolve the variables. |
| Modifier and Type | Field and Description |
|---|---|
static VariableResolver |
Expressions.EMPTY_RESOLVER
An empty variable resolver, i.e., it has no variable defined at all.
|
| Modifier and Type | Method and Description |
|---|---|
VariableResolver |
XelContext.getVariableResolver()
Returns the variable resolver, or null if not available.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleResolver
A simple resolver that retrieve variable from a map.
|
| Modifier and Type | Method and Description |
|---|---|
VariableResolver |
SimpleResolver.getParent()
Returns the parent, or null if no parent at all.
|
VariableResolver |
SimpleXelContext.getVariableResolver() |
VariableResolver |
XelContextProxy.getVariableResolver() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
Evaluators.resolveVariable(VariableResolver resolver,
String name)
Resolves the variable based on the specified resolver.
|
static Object |
Evaluators.resolveVariable(XelContext ctx,
VariableResolver resolver,
Object base,
Object name)
Resolves the variable based on the the specified context and
variable resolver.
|
void |
SimpleResolver.setParent(VariableResolver parent)
Sets the parent.
|
void |
SimpleXelContext.setVariableResolver(VariableResolver resolver)
Sets the variable resolver, or null if not available.
|
| Constructor and Description |
|---|
SimpleResolver(VariableResolver parent)
Constructs a resolver with a parent.
|
SimpleResolver(VariableResolver parent,
Map<String,?> vars)
Constructs a resolver with a parent and an object map.
|
SimpleXelContext(VariableResolver resolver) |
SimpleXelContext(VariableResolver resolver,
FunctionMapper mapper) |
XelContextProxy(XelContext ctx,
VariableResolver resolver)
Replaces the variable resolver with the specified one,
but the function mapper not changed.
|
XelContextProxy(XelContext ctx,
VariableResolver resolver,
FunctionMapper mapper)
Replaces both variable resolver and function mapper.
|
Copyright © 2018. All rights reserved.