org.activiti.engine.impl.juel
类 TreeStore
java.lang.Object
org.activiti.engine.impl.juel.TreeStore
public class TreeStore
- extends Object
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.
- 作者:
- Christoph Beck
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeStore
public TreeStore(TreeBuilder builder,
TreeCache cache)
- Constructor.
- 参数:
builder
- the tree buildercache
- the tree cache (may be null
)
getBuilder
public TreeBuilder getBuilder()
get
public Tree get(String expression)
throws TreeBuilderException
- Get a
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
- 返回:
- expression tree
- 抛出:
TreeBuilderException
Copyright © 2013 Alfresco. All rights reserved.