org.apache.cocoon.template.environment
Class FlowObjectModelHelper

java.lang.Object
  extended by org.apache.cocoon.template.environment.FlowObjectModelHelper

public class FlowObjectModelHelper
extends Object

Creation of an Expression context from the TemplateObjectModelHelper

Version:
SVN $Id: FlowObjectModelHelper.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Method Summary
static void addJavaPackages(Map objectModel)
          Add java packages to object model.
static ExpressionContext getFOMExpressionContext(Map objectModel, Parameters parameters)
          Create an expression context that contains the object model
static org.mozilla.javascript.Scriptable getScope()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getScope

public static org.mozilla.javascript.Scriptable getScope()

getFOMExpressionContext

public static ExpressionContext getFOMExpressionContext(Map objectModel,
                                                        Parameters parameters)
Create an expression context that contains the object model


addJavaPackages

public static void addJavaPackages(Map objectModel)
Add java packages to object model. Allows to construct java objects.

Parameters:
objectModel - usually the result of invoking getTemplateObjectModel


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.