org.apache.cocoon.components.treeprocessor.variables
Class NOPVariableResolver

java.lang.Object
  |
  +--org.apache.cocoon.components.treeprocessor.variables.VariableResolver
        |
        +--org.apache.cocoon.components.treeprocessor.variables.NOPVariableResolver

public class NOPVariableResolver
extends VariableResolver

No-op implementation of VariableResolver for constant expressions


Field Summary
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.variables.VariableResolver
EMPTY_MAP, originalExpr
 
Constructor Summary
NOPVariableResolver(java.lang.String expression)
           
 
Method Summary
 void release()
           
 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 org.apache.cocoon.components.treeprocessor.variables.VariableResolver
buildMap, buildParameters, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NOPVariableResolver

public NOPVariableResolver(java.lang.String expression)
Method Detail

resolve

public final java.lang.String resolve(InvokeContext context,
                                      java.util.Map objectModel)
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

release

public final void release()


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.