|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.environment.TemplateObjectModelHelper
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
Method Summary | |
static Object |
addJavaPackages(Map objectModel)
Add java packages to object model. |
static void |
fillContext(Object contextObject,
Map map)
|
static org.mozilla.javascript.Scriptable |
getScope()
|
static Object |
getTemplateObjectModel(Map objectModel,
Parameters parameters)
Create the object model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static org.mozilla.javascript.Scriptable getScope()
public static void fillContext(Object contextObject, Map map)
public static Object getTemplateObjectModel(Map objectModel, Parameters parameters)
public static Object addJavaPackages(Map objectModel)
objectModel
- usually the result of invoking getTemplateObjectModel
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |