Package | Description |
---|---|
org.zkoss.bind.impl |
Core Implementation for ZK Bind
|
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.web.servlet.dsp |
Dynamic Servlet Page (DSP).
|
org.zkoss.web.servlet.xel |
XEL Utilities that depends on Servlets.
|
org.zkoss.web.util.resource |
Utilities to access Web resources.
|
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.
|
org.zkoss.zk.ui | |
org.zkoss.zk.ui.http |
HTTP relevant utilities and servlets for implementing
user interfaces (implementation only).
|
org.zkoss.zk.ui.impl |
Implementation of user interfaces and factories (implementation only).
|
org.zkoss.zk.ui.metainfo |
Metainfo representing pages and languages (implementation only).
|
org.zkoss.zk.ui.select |
Utilities of ZK Component Selector, which retrieves components by
selector rules, like CSS selectors.
|
org.zkoss.zk.ui.sys |
Internal interfaces of user interfaces and factories (behind the scene).
|
org.zkoss.zk.ui.util |
Utilities to handle user interfaces.
|
org.zkoss.zk.xel.impl |
XEL utilities for implementation only.
|
org.zkoss.zkmax.xel.util |
Utilities to implement XEL factories.
|
org.zkoss.zkplus.cdi |
Utilities to support Contexts and Dependency Injection(JSR-299).
|
org.zkoss.zkplus.jndi |
Utilities to support JNDI
|
org.zkoss.zkplus.spring |
Utilities to support Spring Application Framework.
|
org.zkoss.zml |
The ZK XML Component Set.
|
org.zkoss.zuti.zul |
Constructor and Description |
---|
SimpleBindXelContext(Component cmp,
Binder binder,
VariableResolver resolver,
FunctionMapper mapper) |
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 | Method and Description |
---|---|
VariableResolver |
ServletDspContext.getVariableResolver() |
Modifier and Type | Class and Description |
---|---|
class |
RequestXelResolver
A XEL variable resolver that is based on Servlet request, response,
and EL.
|
Modifier and Type | Method and Description |
---|---|
VariableResolver |
RequestContext.getVariableResolver()
Returns the variable resolver.
|
VariableResolver |
PageContext.getVariableResolver()
The current variable resolver.
|
Modifier and Type | Class and Description |
---|---|
class |
ServletRequestResolver
Used to resolve the variables defined in the request
(such as DSP context and ZK's execution).
|
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 |
XelContextProxy.getVariableResolver() |
VariableResolver |
SimpleXelContext.getVariableResolver() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
Evaluators.resolveVariable(VariableResolver resolver,
java.lang.String name)
Resolves the variable based on the specified resolver.
|
static java.lang.Object |
Evaluators.resolveVariable(XelContext ctx,
VariableResolver resolver,
java.lang.Object base,
java.lang.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,
java.util.Map<java.lang.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.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<VariableResolver> |
HtmlMacroComponent._resolvers
A list of resolvers (never null).
|
Modifier and Type | Method and Description |
---|---|
VariableResolver |
Execution.getVariableResolver()
Returns the variable resolver for this execution, or null if not
available.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Page.addVariableResolver(VariableResolver resolver)
Adds a variable resolver that will be used to resolve a variable
by
Page.getXelVariable(java.lang.String) . |
boolean |
Execution.addVariableResolver(VariableResolver resolver)
Adds a name resolver that will be used to resolve a variable
(by
Execution.getVariableResolver() ). |
Component |
Execution.createComponents(PageDefinition pagedef,
Component parent,
Component insertBefore,
VariableResolver resolver)
Creates components from the specified page definition
with a custom variable resolver and inserts before a particular component.
|
Component |
Execution.createComponents(java.lang.String uri,
Component parent,
Component insertBefore,
VariableResolver resolver)
Creates components from a page file specified by an URI
with a custom variable resolver and inserts before a particular component.
|
Component[] |
Execution.createComponents(java.lang.String uri,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg)
Creates components from a page file specified by an URI
with a custom variable resolver and inserts before a particular component.
|
Component |
Execution.createComponentsDirectly(Document content,
java.lang.String extension,
Component parent,
Component insertBefore,
VariableResolver resolver)
Creates components from the raw content specified by a DOM tree
with a custom variable resolver and inserts before a particular component.
|
Component |
Execution.createComponentsDirectly(java.io.Reader reader,
java.lang.String extension,
Component parent,
Component insertBefore,
VariableResolver resolver)
Creates components from the raw content read from the specified reader
with a custom variable resolver and inserts before a particular component.
|
Component |
Execution.createComponentsDirectly(java.lang.String content,
java.lang.String extension,
Component parent,
Component insertBefore,
VariableResolver resolver)
Creates components from the raw content specified by a string
with a custom variable resolver and inserts before a particular component.
|
boolean |
Page.hasVariableResolver(VariableResolver resolver)
Returns if the specified variable resolver has been registered
|
boolean |
Execution.hasVariableResolver(VariableResolver resolver)
Returns if the specified variable resolved has been registered
|
boolean |
Page.removeVariableResolver(VariableResolver resolver)
Removes a variable resolver that was added by
Page.addVariableResolver(org.zkoss.xel.VariableResolver) . |
boolean |
Execution.removeVariableResolver(VariableResolver resolver)
Removes a name resolve that was added by
Execution.addVariableResolver(org.zkoss.xel.VariableResolver) . |
Modifier and Type | Method and Description |
---|---|
boolean |
Execution.hasVariableResolver(java.lang.Class<? extends VariableResolver> cls)
Returns if any instance of the give class has been registered.
|
Modifier and Type | Method and Description |
---|---|
VariableResolver |
ExecutionImpl.getVariableResolver() |
Modifier and Type | Method and Description |
---|---|
boolean |
PageImpl.addVariableResolver(VariableResolver resolver) |
boolean |
AbstractExecution.addVariableResolver(VariableResolver resolver) |
Component[] |
UiEngineImpl.createComponents(Execution exec,
PageDefinition pagedef,
Page page,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponents(PageDefinition pagedef,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component |
AbstractExecution.createComponents(java.lang.String uri,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component[] |
AbstractExecution.createComponents(java.lang.String uri,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponentsDirectly(Document content,
java.lang.String ext,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component |
AbstractExecution.createComponentsDirectly(java.io.Reader reader,
java.lang.String ext,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component |
AbstractExecution.createComponentsDirectly(java.lang.String content,
java.lang.String ext,
Component parent,
Component insertBefore,
VariableResolver resolver) |
boolean |
PageImpl.hasVariableResolver(VariableResolver resolver) |
boolean |
AbstractExecution.hasVariableResolver(VariableResolver resolver) |
boolean |
PageImpl.removeVariableResolver(VariableResolver resolver) |
boolean |
AbstractExecution.removeVariableResolver(VariableResolver resolver) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractExecution.hasVariableResolver(java.lang.Class<? extends VariableResolver> cls) |
Modifier and Type | Method and Description |
---|---|
VariableResolver |
VariableResolverInfo.newVariableResolver(Evaluator eval,
Page page)
Creates and returns the variable resolver for the specified page.
|
VariableResolver |
VariableResolverInfo.newVariableResolver(PageDefinition pgdef,
Page page)
Creates and returns the variable resolver for the specified page.
|
Constructor and Description |
---|
VariableResolverInfo(VariableResolver resolver)
Constructs with an initiator that will be reuse each time
VariableResolverInfo.newVariableResolver(org.zkoss.zk.ui.metainfo.PageDefinition, org.zkoss.zk.ui.Page) is called. |
Constructor and Description |
---|
VariableResolverInfo(java.lang.Class<? extends VariableResolver> cls)
Constructs with a class.
|
VariableResolverInfo(java.lang.Class<? extends VariableResolver> cls,
java.util.Map<java.lang.String,java.lang.String> args)
Constructs with a class.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<VariableResolver> |
SelectorComposer._resolvers
A list of resolvers (never null).
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<VariableResolver> |
Selectors.newVariableResolvers(java.lang.Class<?> cls,
java.lang.Class<?> untilClass)
Creates a list of instances of
VariableResolver based
on the annotation of the given class. |
Modifier and Type | Method and Description |
---|---|
static void |
Selectors.rewireVariablesOnActivate(Component component,
java.lang.Object controller,
java.util.List<VariableResolver> extraResolvers)
Rewire the variables on session activation
|
static void |
Selectors.wireVariables(Component component,
java.lang.Object controller,
java.util.List<VariableResolver> extraResolvers)
Wire variables to controller, including XEL variables, implicit variables.
|
static void |
Selectors.wireVariables(Page page,
java.lang.Object controller,
java.util.List<VariableResolver> extraResolvers)
Wire variables to controller, including XEL variables, implicit variables.
|
Modifier and Type | Method and Description |
---|---|
Component[] |
UiEngine.createComponents(Execution exec,
PageDefinition pagedef,
Page page,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg)
Creates components from the specified page and definition.
|
Modifier and Type | Method and Description |
---|---|
Component[] |
Template.create(Component parent,
Component insertBefore,
VariableResolver resolver,
Composer composer)
Creates the components defined in this template.
|
Modifier and Type | Class and Description |
---|---|
class |
ExecutionResolver
A variable resolver that is based on the specified execution.
|
Modifier and Type | Method and Description |
---|---|
VariableResolver |
SimpleEvaluator.getVariableResolver(java.lang.Object ref)
Returns the variable resolver, or null if not available.
|
Constructor and Description |
---|
ExecutionResolver(Execution exec,
VariableResolver parent)
Constructs a resolver with a parent and a page.
|
Constructor and Description |
---|
ResolverMap(VariableResolver resolver) |
Modifier and Type | Class and Description |
---|---|
class |
DelegatingVariableResolver
Generic CDI EL named managed bean resolver.
|
Modifier and Type | Class and Description |
---|---|
class |
JndiVariableResolver
JndiVariableResolver, a jndi variableResolver
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<VariableResolver> |
DelegatingVariableResolver._variableResolvers
Holds list of variable resolvers for Spring core (3.0RC and later),
Spring security(3.0RC and later) and Spring webflow(only for 1.x)
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<VariableResolver> |
XmlMacroComponent._resolvers
A list of resolvers (never null).
|
Modifier and Type | Method and Description |
---|---|
VariableResolver |
ForEachRenderer.initVariableResolver(ForEach forEachComp,
org.zkoss.zuti.zul.ForEachRenderer.ForEachIterator<java.lang.Object> it) |
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.