|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.treeprocessor.variables.VariableResolver org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver
public final class PreparedVariableResolver
Prepared implementation of VariableResolver
for fast evaluation.
Field Summary | |
---|---|
protected boolean |
needsMapStack
|
protected List |
tokens
|
Fields inherited from class org.apache.cocoon.components.treeprocessor.variables.VariableResolver |
---|
EMPTY_MAP, originalExpr |
Constructor Summary | |
---|---|
PreparedVariableResolver(String expr,
ComponentManager manager)
Deprecated. use the version with ServiceManager |
|
PreparedVariableResolver(String expr,
ServiceManager manager)
|
Method Summary | |
---|---|
void |
dispose()
|
String |
resolve(InvokeContext context,
Map objectModel)
Resolve all {...} patterns using the values given in the list of maps and the object model. |
Methods inherited from class org.apache.cocoon.components.treeprocessor.variables.VariableResolver |
---|
buildMap, buildParameters, equals, hashCode, resolve, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected List tokens
protected boolean needsMapStack
Constructor Detail |
---|
public PreparedVariableResolver(String expr, ComponentManager manager) throws PatternException
ServiceManager
PatternException
public PreparedVariableResolver(String expr, ServiceManager manager) throws PatternException
PatternException
Method Detail |
---|
public final String resolve(InvokeContext context, Map objectModel) throws PatternException
VariableResolver
resolve
in class VariableResolver
PatternException
public final void dispose()
dispose
in interface Disposable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |