|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.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.
| Constructor Summary | |
|---|---|
Tree(ExpressionNode root,
Collection<FunctionNode> functions,
Collection<IdentifierNode> identifiers,
boolean deferred)
Constructor. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Tree(ExpressionNode root,
Collection<FunctionNode> functions,
Collection<IdentifierNode> identifiers,
boolean deferred)
root - root nodefunctions - collection of function nodesidentifiers - collection of identifier nodes| Method Detail |
|---|
public Iterable<FunctionNode> getFunctionNodes()
public Iterable<IdentifierNode> getIdentifierNodes()
public ExpressionNode getRoot()
public boolean isDeferred()
public String toString()
toString in class Object
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||