| Package | Description |
|---|---|
| org.zkoss.xel |
XEL - Extensible Expression Language to encapsulate different
implementations, such as EL, MVEL and OGNL.
|
| org.zkoss.xel.el |
This implementation is based on zcommons-EL.
|
| org.zkoss.xel.util |
Utilties of XEL expressions.
|
| org.zkoss.xel.zel |
This implementation is based on ZEL 2.2 (Similar to EL 2.2).
|
| Modifier and Type | Method and Description |
|---|---|
static XelException |
XelException.Aide.wrap(Throwable t)
Converts an exception to XelException if it is
not RuntimeException nor Error.
|
static XelException |
XelException.Aide.wrap(Throwable t,
int code)
Converts an exception to XelException if it is
not RuntimeException nor Error.
|
static XelException |
XelException.Aide.wrap(Throwable t,
int code,
Object fmtArg)
Converts an exception to XelException if it is
not RuntimeException nor Error.
|
static XelException |
XelException.Aide.wrap(Throwable t,
int code,
Object[] fmtArgs)
Converts an exception to XelException if it is
not RuntimeException nor Error.
|
static XelException |
XelException.Aide.wrap(Throwable t,
String msg)
Converts an exception to XelException if it is
not RuntimeException nor Error.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
Expression.evaluate(XelContext ctx)
Evaluates an expression that was previously prepared.
|
Object |
ExpressionFactory.evaluate(XelContext ctx,
String expression,
Class<?> expectedType)
Evaluates an expression.
|
static Object |
Expressions.evaluate(XelContext ctx,
String expression,
Class<?> expectedType)
Evaluates an expression.
|
boolean |
ExpressionX.isReadOnly(XelContext ctx)
Returns whether this is a read only (cannot setValue) expression.
|
static ExpressionFactory |
Expressions.newExpressionFactory()
Instantiates an instance of
ExpressionFactory. |
Expression |
ExpressionFactory.parseExpression(XelContext ctx,
String expression,
Class<?> expectedType)
Prepares (a.k.a., compiles) an expression.
|
Class<?> |
FunctionMapperExt.resolveClass(String name)
Resolves a class with the specified logic name,
or null if not found.
|
Function |
FunctionMapper.resolveFunction(String prefix,
String name)
Resolves a function
Function with the specified name and
prefix. |
Object |
VariableResolver.resolveVariable(String name)
Resolves the specified variable.
|
Object |
VariableResolverX.resolveVariable(XelContext ctx,
Object base,
Object name)
Resolves the the given variable on the given base object.
|
void |
ExpressionX.setValue(XelContext ctx,
Object value)
Set values into the property resolved by this expression.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ELFactory.evaluate(XelContext xelc,
String expression,
Class expectedType) |
Expression |
ELFactory.parseExpression(XelContext xelc,
String expression,
Class expectedType) |
| Modifier and Type | Method and Description |
|---|---|
void |
TaglibMapper.load(String prefix,
Element root)
Loads function and class definitions from DOM.
|
void |
TaglibMapper.load(String prefix,
String uri,
Locator locator)
Loads function and class definitions from taglib.
|
void |
TaglibMapper.load(String prefix,
URL url)
Loads function and class definitions from taglib.
|
Object |
SimpleResolver.resolveVariable(String name) |
| Modifier and Type | Method and Description |
|---|---|
Object |
ELXelExpression.evaluate(XelContext xelc) |
Object |
ELFactory.evaluate(XelContext xelc,
String expression,
Class expectedType) |
boolean |
ELXelExpression.isReadOnly(XelContext xelc) |
Expression |
ELFactory.parseExpression(XelContext xelc,
String expression,
Class expectedType) |
void |
ELXelExpression.setValue(XelContext xelc,
Object value) |
Copyright © 2018. All rights reserved.