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

构造方法摘要
TreeStore(TreeBuilder builder, TreeCache cache)
          Constructor.
 
方法摘要
 Tree get(String expression)
          Get a Tree.
 TreeBuilder getBuilder()
           
 
从类 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 builder
cache - 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.