Package org.camunda.bpm.impl.juel
Class TreeStore
java.lang.Object
org.camunda.bpm.impl.juel.TreeStore
Tree store class.
A tree store holds a
TreeBuilder and a
TreeCache, provided at construction time.
The get(String) method is then used to serve expression trees.- Author:
- Christoph Beck
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TreeStore
Constructor.- Parameters:
builder- the tree buildercache- the tree cache (may benull)
-
-
Method Details
-
getBuilder
-
get
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
-