|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.activiti.engine.impl.juel.Tree
public class Tree
Parsed expression, usually created by a TreeBuilder
.
The bind(FunctionMapper, VariableMapper)
method is used to create
Bindings
, which are needed at evaluation time to
lookup functions and variables. The tree itself does not contain such information,
because it would make the tree depend on the function/variable mapper supplied at
parse time.
构造方法摘要 | |
---|---|
Tree(ExpressionNode root,
Collection<FunctionNode> functions,
Collection<IdentifierNode> identifiers,
boolean deferred)
Constructor. |
方法摘要 | |
---|---|
Bindings |
bind(FunctionMapper fnMapper,
VariableMapper varMapper)
Create a bindings. |
Bindings |
bind(FunctionMapper fnMapper,
VariableMapper varMapper,
TypeConverter converter)
Create a bindings. |
Iterable<FunctionNode> |
getFunctionNodes()
Get function nodes (in no particular order) |
Iterable<IdentifierNode> |
getIdentifierNodes()
Get identifier nodes (in no particular order) |
ExpressionNode |
getRoot()
|
boolean |
isDeferred()
|
String |
toString()
|
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
构造方法详细信息 |
---|
public Tree(ExpressionNode root, Collection<FunctionNode> functions, Collection<IdentifierNode> identifiers, boolean deferred)
root
- root nodefunctions
- collection of function nodesidentifiers
- collection of identifier nodes方法详细信息 |
---|
public Iterable<FunctionNode> getFunctionNodes()
public Iterable<IdentifierNode> getIdentifierNodes()
public ExpressionNode getRoot()
public boolean isDeferred()
public String toString()
Object
中的 toString
public Bindings bind(FunctionMapper fnMapper, VariableMapper varMapper)
fnMapper
- the function mapper to usevarMapper
- the variable mapper to use
public Bindings bind(FunctionMapper fnMapper, VariableMapper varMapper, TypeConverter converter)
fnMapper
- the function mapper to usevarMapper
- the variable mapper to useconverter
- custom type converter
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |