|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--freemarker.testcase.models.SimpleTestMethod
A simple method model used as a test bed.
Constructor Summary | |
SimpleTestMethod()
Creates new SimpleTestMethod |
Method Summary | |
TemplateModel |
exec(java.util.List arguments)
Executes a method call. |
boolean |
isEmpty()
Is the model empty? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleTestMethod()
Method Detail |
public TemplateModel exec(java.util.List arguments) throws TemplateModelException
exec
in interface TemplateMethodModel
arguments
- a List
of String
objects containing
the values of the arguments passed to the method.TemplateModel
produced by the method, or null.public boolean isEmpty() throws TemplateModelException
isEmpty
in interface TemplateModel
false
to indicate the model is not empty
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |