|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use XelContext | |
|---|---|
| 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). |
| Uses of XelContext in org.zkoss.xel |
|---|
| Methods in org.zkoss.xel with parameters of type XelContext | |
|---|---|
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. |
Class |
ExpressionX.getType(XelContext xelc)
Returns the result type of this expression. |
ValueReference |
ExpressionX.getValueReference(XelContext xelc)
Returns the target bean and field name of this expression. |
boolean |
ExpressionX.isReadOnly(XelContext ctx)
Returns whether this is a read only (cannot setValue) expression. |
Expression |
ExpressionFactory.parseExpression(XelContext ctx,
String expression,
Class<?> expectedType)
Prepares (aka., compiles) an expression. |
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. |
| Uses of XelContext in org.zkoss.xel.el |
|---|
| Methods in org.zkoss.xel.el with parameters of type XelContext | |
|---|---|
Object |
ELFactory.evaluate(XelContext xelc,
String expression,
Class expectedType)
|
Expression |
ELFactory.parseExpression(XelContext xelc,
String expression,
Class expectedType)
|
| Uses of XelContext in org.zkoss.xel.util |
|---|
| Classes in org.zkoss.xel.util that implement XelContext | |
|---|---|
class |
SimpleXelContext
A simple implementation of XelContext. |
class |
XelContextProxy
A proxy to replace the variable resolver of a given XEL context. |
| Methods in org.zkoss.xel.util with parameters of type XelContext | |
|---|---|
static Object |
Evaluators.resolveVariable(XelContext ctx,
Object base,
Object name)
Resolves the variable based on the specified context. |
static Object |
Evaluators.resolveVariable(XelContext ctx,
VariableResolver resolver,
Object base,
Object name)
Resolves the variable based on the the specified context and variable resolver. |
| Constructors in org.zkoss.xel.util with parameters of type XelContext | |
|---|---|
XelContextProxy(XelContext ctx,
FunctionMapper mapper)
Replaces the function mapper with the specified one, but the variable resolver not changed. |
|
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. |
|
| Uses of XelContext in org.zkoss.xel.zel |
|---|
| Fields in org.zkoss.xel.zel declared as XelContext | |
|---|---|
protected XelContext |
XelELResolver._ctx
|
| Methods in org.zkoss.xel.zel that return XelContext | |
|---|---|
protected XelContext |
XelELContext.getXelContext()
|
protected XelContext |
XelELResolver.getXelContext()
|
| Methods in org.zkoss.xel.zel with parameters of type XelContext | |
|---|---|
Object |
ELXelExpression.evaluate(XelContext xelc)
|
Object |
ELFactory.evaluate(XelContext xelc,
String expression,
Class expectedType)
|
Class |
ELXelExpression.getType(XelContext xelc)
|
ValueReference |
ELXelExpression.getValueReference(XelContext xelc)
|
boolean |
ELXelExpression.isReadOnly(XelContext xelc)
|
protected org.zkoss.zel.ELContext |
ELXelExpression.newELContext(XelContext xelc)
|
protected org.zkoss.zel.ELContext |
ELFactory.newELContext(XelContext xelc)
|
protected org.zkoss.zel.ELResolver |
XelELContext.newELResolver(XelContext xelc)
|
Expression |
ELFactory.parseExpression(XelContext xelc,
String expression,
Class expectedType)
|
void |
ELXelExpression.setValue(XelContext xelc,
Object value)
|
| Constructors in org.zkoss.xel.zel with parameters of type XelContext | |
|---|---|
XelELContext(XelContext xelc)
|
|
XelELResolver(XelContext ctx)
Constructor. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||