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

java.lang.Object
  extended byorg.apache.cocoon.components.treeprocessor.variables.VariableResolver
      extended byorg.apache.cocoon.components.treeprocessor.variables.NOPVariableResolver

public class NOPVariableResolver
extends VariableResolver

No-op implementation of VariableResolver for constant expressions

Version:
$Id: NOPVariableResolver.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.variables.VariableResolver
originalExpr, ROLE
 
Constructor Summary
NOPVariableResolver()
           
NOPVariableResolver(String expression)
           
 
Method Summary
 String resolve(InvokeContext context, Map objectModel)
          Resolve all {...} patterns using the values given in the list of maps and the object model.
 void setExpression(String expression)
           
 
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
 

Constructor Detail

NOPVariableResolver

public NOPVariableResolver()

NOPVariableResolver

public NOPVariableResolver(String expression)
Method Detail

setExpression

public void setExpression(String expression)
Specified by:
setExpression in class VariableResolver

resolve

public final String resolve(InvokeContext context,
                            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


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.