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:
- org.apache.avalon.framework.activity.Disposable
- public final class PreparedVariableResolver
- extends VariableResolver
- implements org.apache.avalon.framework.activity.Disposable
Prepared implementation of VariableResolver
for fast evaluation.
- Author:
- Sylvain Wallez
, Torsten Curdt
Constructor Summary |
PreparedVariableResolver(java.lang.String expr,
org.apache.avalon.framework.component.ComponentManager manager)
|
Method Summary |
void |
dispose()
|
java.lang.String |
resolve(InvokeContext context,
java.util.Map objectModel)
Resolve all {...} patterns using the values given in the list of maps and the object model. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PreparedVariableResolver
public PreparedVariableResolver(java.lang.String expr,
org.apache.avalon.framework.component.ComponentManager manager)
throws PatternException
resolve
public final java.lang.String resolve(InvokeContext context,
java.util.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
PatternException
dispose
public final void dispose()
- Specified by:
dispose
in interface org.apache.avalon.framework.activity.Disposable
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.