|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfreemarker.ext.rhino.RhinoScriptableModel
freemarker.ext.rhino.RhinoFunctionModel
public class RhinoFunctionModel
| Field Summary |
|---|
| Fields inherited from interface freemarker.template.TemplateModel |
|---|
NOTHING |
| Fields inherited from interface freemarker.template.TemplateScalarModel |
|---|
EMPTY_STRING |
| Fields inherited from interface freemarker.template.TemplateBooleanModel |
|---|
FALSE, TRUE |
| Constructor Summary | |
|---|---|
RhinoFunctionModel(org.mozilla.javascript.Function function,
org.mozilla.javascript.Scriptable fnThis,
BeansWrapper wrapper)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
exec(java.util.List arguments)
Executes a method call. |
| Methods inherited from class freemarker.ext.rhino.RhinoScriptableModel |
|---|
get, get, getAdaptedObject, getAsBoolean, getAsNumber, getAsString, isEmpty, keys, size, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RhinoFunctionModel(org.mozilla.javascript.Function function,
org.mozilla.javascript.Scriptable fnThis,
BeansWrapper wrapper)
| Method Detail |
|---|
public java.lang.Object exec(java.util.List arguments)
throws TemplateModelException
TemplateMethodModelEx
exec in interface TemplateMethodModelexec in interface TemplateMethodModelExarguments - a List of TemplateModel objects
containing the values of the arguments passed to the method. If the
implementation wishes to operate on POJOs that might be underlying the
models, it can use the static utility methods in the DeepUnwrap
class to easily obtain them.
TemplateModel, it will be automatically
wrapped using the environment
object wrapper.
TemplateModelException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||