Package | Description |
---|---|
org.zkoss.xel |
XEL - Extensible Expression Language to encapsulate different
implementations, such as EL, MVEL and OGNL.
|
org.zkoss.xel.taglib |
Utilities to access taglibs, aka., the TLD files.
|
org.zkoss.xel.util |
Utilities of XEL expressions.
|
org.zkoss.zk.scripting |
Scripting interpreter relevant classes, including interpreter, namespace and so on.
|
org.zkoss.zk.scripting.bsh |
BeanShell - Java Interpreter.
|
org.zkoss.zk.scripting.groovy |
Groovy Interpreter
|
org.zkoss.zk.scripting.rhino |
Rhino - JavaScript Interpreter
org.zkoss.scripting.bsf.rhino.RhinoInterpreter
An implementation based on Rhino
org.zkoss.scripting.bsf.rhino.RhinoInterpreter
An implementation based on Rhino but went through BSF.
|
org.zkoss.zk.scripting.util |
Utilities for implementing interpters and namespaces.
|
org.zkoss.zk.ui | |
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).
|
Modifier and Type | Method and Description |
---|---|
Function |
FunctionMapper.resolveFunction(java.lang.String prefix,
java.lang.String name)
Resolves a function
Function with the specified name and
prefix. |
Modifier and Type | Field and Description |
---|---|
Function |
FunctionDefinition.function
Method's function.
|
Modifier and Type | Field and Description |
---|---|
java.util.Map<java.lang.String,Function> |
TaglibDefinition.functions
A map of functions.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,Function> |
Taglibs.loadFunctions(Element root)
Loads functions defined in the specified DOM.
|
static java.util.Map<java.lang.String,Function> |
Taglibs.loadFunctions(java.net.URL xmlURL)
Loads functions defined in the specified URL.
|
Constructor and Description |
---|
FunctionDefinition(java.lang.String prefix,
java.lang.String name,
Function function) |
Modifier and Type | Class and Description |
---|---|
class |
MethodFunction
A XEL function based on java.lang.reflect.Method.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Function> |
TaglibMapper._mtds
Map(String prefix+":"+name, Function func).
|
Modifier and Type | Method and Description |
---|---|
Function |
TaglibMapper.resolveFunction(java.lang.String prefix,
java.lang.String name) |
Function |
SimpleMapper.resolveFunction(java.lang.String prefix,
java.lang.String name) |
Function |
DualFunctionMapper.resolveFunction(java.lang.String prefix,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
TaglibMapper.addFunction(java.lang.String prefix,
java.lang.String name,
Function func)
Adds the function that can be retrieved by
TaglibMapper.resolveFunction(java.lang.String, java.lang.String) . |
Modifier and Type | Method and Description |
---|---|
Function |
HierarchicalAware.getFunction(Scope scope,
java.lang.String name,
java.lang.Class[] argTypes)
Returns the method of the specified name defined in
this interpreter's scope identified by the specified scope,
or null if not defined.
|
Function |
Interpreter.getFunction(java.lang.String name,
java.lang.Class[] argTypes)
Returns the method of the specified name defined in this interpreter,
or null if not defined.
|
Modifier and Type | Method and Description |
---|---|
Function |
BSHInterpreter.getFunction(Scope scope,
java.lang.String name,
java.lang.Class[] argTypes) |
Function |
BSHInterpreter.getFunction(java.lang.String name,
java.lang.Class[] argTypes) |
Modifier and Type | Method and Description |
---|---|
Function |
GroovyInterpreter.getFunction(java.lang.String name,
java.lang.Class[] argTypes)
Returns the method.
|
Modifier and Type | Method and Description |
---|---|
Function |
RhinoInterpreter.getFunction(java.lang.String name,
java.lang.Class[] argTypes)
Returns the method.
|
Modifier and Type | Method and Description |
---|---|
Function |
GenericInterpreter.getFunction(Scope scope,
java.lang.String name,
java.lang.Class[] argTypes)
Returns null since retrieving methods is not supported.
|
Function |
GenericInterpreter.getFunction(java.lang.String name,
java.lang.Class[] argTypes)
Returns null since retrieving methods is not supported.
|
Modifier and Type | Method and Description |
---|---|
Function |
Page.getZScriptFunction(Component comp,
java.lang.String name,
java.lang.Class[] argTypes)
Returns the function of the specified name by searching
the logical scope of the specified component
in all the loaded interpreters.
|
Function |
Page.getZScriptFunction(java.lang.String name,
java.lang.Class[] argTypes)
Returns the function of the specified name by searching
the loaded interpreters.
|
Modifier and Type | Method and Description |
---|---|
Function |
PageImpl.getZScriptFunction(Component comp,
java.lang.String name,
java.lang.Class[] argTypes) |
Function |
PageImpl.getZScriptFunction(java.lang.String name,
java.lang.Class[] argTypes) |
Modifier and Type | Method and Description |
---|---|
void |
PageDefinition.addXelMethod(java.lang.String prefix,
java.lang.String name,
Function func)
Adds a XEL method.
|
Copyright © 2005-2021 Potix Corporation. All Rights Reserved.