Package org.camunda.bpm.engine.impl.juel
Class TreeStore
- java.lang.Object
 - 
- org.camunda.bpm.engine.impl.juel.TreeStore
 
 
- 
public class TreeStore extends Object
Tree store class. A tree store holds aTreeBuilderand aTreeCache, provided at construction time. Theget(String)method is then used to serve expression trees.- Author:
 - Christoph Beck
 
 
- 
- 
Constructor Summary
Constructors Constructor Description TreeStore(TreeBuilder builder, TreeCache cache)Constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Treeget(String expression)Get aTree.TreeBuildergetBuilder() 
 - 
 
- 
- 
Constructor Detail
- 
TreeStore
public TreeStore(TreeBuilder builder, TreeCache cache)
Constructor.- Parameters:
 builder- the tree buildercache- the tree cache (may benull)
 
 - 
 
- 
Method Detail
- 
getBuilder
public TreeBuilder getBuilder()
 
- 
get
public Tree get(String expression) throws TreeBuilderException
Get aTree. If a tree for the given expression is present in the cache, it is taken from there; otherwise, the expression string is parsed and the resulting tree is added to the cache.- Parameters:
 expression- expression string- Returns:
 - expression tree
 - Throws:
 TreeBuilderException
 
 - 
 
 -