freemarker.ext.rhino

Class RhinoFunctionModel

Implemented Interfaces:
AdapterTemplateModel, TemplateBooleanModel, TemplateHashModel, TemplateHashModelEx, TemplateMethodModel, TemplateMethodModelEx, TemplateModel, TemplateNumberModel, TemplateScalarModel, TemplateSequenceModel

public class RhinoFunctionModel
extends RhinoScriptableModel
implements TemplateMethodModelEx

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.TemplateBooleanModel

FALSE, TRUE

Fields inherited from interface freemarker.template.TemplateModel

NOTHING

Fields inherited from interface freemarker.template.TemplateScalarModel

EMPTY_STRING

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, getAsBoolean, getAsNumber, getAsString, 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