Package org.camunda.bpm.impl.juel
Class Tree
java.lang.Object
org.camunda.bpm.impl.juel.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.- Author:
- Christoph Beck
- 
Constructor SummaryConstructorsConstructorDescriptionTree(ExpressionNode root, Collection<FunctionNode> functions, Collection<IdentifierNode> identifiers, boolean deferred) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionbind(jakarta.el.FunctionMapper fnMapper, jakarta.el.VariableMapper varMapper) Create a bindings.bind(jakarta.el.FunctionMapper fnMapper, jakarta.el.VariableMapper varMapper, TypeConverter converter) Create a bindings.Get function nodes (in no particular order)Get identifier nodes (in no particular order)getRoot()booleantoString()
- 
Constructor Details- 
Treepublic Tree(ExpressionNode root, Collection<FunctionNode> functions, Collection<IdentifierNode> identifiers, boolean deferred) Constructor.- Parameters:
- root- root node
- functions- collection of function nodes
- identifiers- collection of identifier nodes
 
 
- 
- 
Method Details- 
getFunctionNodesGet function nodes (in no particular order)
- 
getIdentifierNodesGet identifier nodes (in no particular order)
- 
getRoot- Returns:
- root node
 
- 
isDeferredpublic boolean isDeferred()
- 
toString
- 
bindCreate a bindings.- Parameters:
- fnMapper- the function mapper to use
- varMapper- the variable mapper to use
- Returns:
- tree bindings
 
- 
bindpublic Bindings bind(jakarta.el.FunctionMapper fnMapper, jakarta.el.VariableMapper varMapper, TypeConverter converter) Create a bindings.- Parameters:
- fnMapper- the function mapper to use
- varMapper- the variable mapper to use
- converter- custom type converter
- Returns:
- tree bindings
 
 
-