public class TreeStore extends Object
TreeCache, provided at construction time. The
get(String)method is then used to serve expression trees.
|Constructor and Description|
public TreeStore(TreeBuilder builder, TreeCache cache)
builder- the tree builder
cache- the tree cache (may be
public TreeBuilder getBuilder()
public Tree get(String expression) throws TreeBuilderException
Tree. 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.
expression- expression string
Copyright © 2018. All rights reserved.