org.apache.cocoon.environment
Class TemplateObjectModelHelper
java.lang.Object
org.apache.cocoon.environment.TemplateObjectModelHelper
public class TemplateObjectModelHelper
- extends Object
This is an utility class to create an object model which is similar to the one
used in flow, that can be used from every component.
Work-in-progress, derived from JXTemplateGenerator
- Version:
- $Id: TemplateObjectModelHelper.java 359757 2005-12-29 08:53:30Z cziegeler $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fillContext
public static void fillContext(Object contextObject,
Map map)
getTemplateObjectModel
public static Map getTemplateObjectModel(Map objectModel,
Parameters parameters)
- Create the object model.
Currently the object model is a map with one single entry:
cocoon + request The Request Object
+ session The Session (if available)
+ context The Context
+ continuation The Continuation (if available)
+ parameters The parameters (if provided)
Copyright ? 1999-2007 The Apache Software Foundation. All Rights Reserved.