freemarker.ext.rhino

Class RhinoFunctionModel

Implemented Interfaces:
AdapterTemplateModel, TemplateHashModel, TemplateHashModelEx, TemplateMethodModel, TemplateMethodModelEx, TemplateModel, TemplateSequenceModel

public class RhinoFunctionModel
extends RhinoScriptableModel
implements TemplateMethodModelEx

Experimental: no backward compatibility guarantees; any feedback is highly welcome!
Version:
$Id: RhinoFunctionModel.java,v 1.2.2.1 2006/12/27 16:10:48 szegedia Exp $
Author:
Attila Szegedi

Fields inherited from interface freemarker.template.TemplateModel

NOTHING

Constructor Summary

RhinoFunctionModel(Function function, Scriptable fnThis, BeansWrapper wrapper)

Method Summary

Object
exec(List arguments)

Methods inherited from class freemarker.ext.rhino.RhinoScriptableModel

get, get, getAdaptedObject, isEmpty, keys, size, values

Constructor Details

RhinoFunctionModel

public RhinoFunctionModel(Function function,
                          Scriptable fnThis,
                          BeansWrapper wrapper)

Method Details

exec

public Object exec(List arguments)
            throws TemplateModelException
Specified by:
exec in interface TemplateMethodModel