|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.odysseus.el.tree.TreeStore
public class 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.
Constructor Summary | |
---|---|
TreeStore(TreeBuilder builder,
TreeCache cache)
Constructor. |
Method Summary | |
---|---|
Tree |
get(java.lang.String expression)
Get a Tree . |
TreeBuilder |
getBuilder()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeStore(TreeBuilder builder, TreeCache cache)
builder
- the tree buildercache
- the tree cache (may be null
)Method Detail |
---|
public TreeBuilder getBuilder()
public Tree get(java.lang.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
TreeBuilderException
|
Copyright © 2006-2009 Odysseus Software GmbH. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |