org.apache.cocoon.components.treeprocessor.variables
Class PreparedVariableResolver
java.lang.Object
org.apache.cocoon.components.treeprocessor.variables.VariableResolver
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver
- All Implemented Interfaces:
- Disposable
public final class PreparedVariableResolver
- extends VariableResolver
- implements Disposable
Prepared implementation of VariableResolver
for fast evaluation.
- Version:
- CVS $Id: PreparedVariableResolver.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Upayavira
tokens
protected List tokens
needsMapStack
protected boolean needsMapStack
PreparedVariableResolver
public PreparedVariableResolver(String expr,
ComponentManager manager)
throws PatternException
- Deprecated. use the version with
ServiceManager
- Throws:
PatternException
PreparedVariableResolver
public PreparedVariableResolver(String expr,
ServiceManager manager)
throws PatternException
- Throws:
PatternException
resolve
public final String resolve(InvokeContext context,
Map objectModel)
throws PatternException
- Description copied from class:
VariableResolver
- Resolve all {...} patterns using the values given in the list of maps and the object model.
- Specified by:
resolve
in class VariableResolver
- Throws:
PatternException
dispose
public final void dispose()
- Specified by:
dispose
in interface Disposable
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.