|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfreemarker.testcase.models.SimpleTestMethod
public final class SimpleTestMethod
A simple method model used as a test bed.
Constructor Summary | |
---|---|
SimpleTestMethod()
Creates new SimpleTestMethod |
Method Summary | |
---|---|
TemplateModel |
exec(java.util.List<java.lang.String> 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<java.lang.String> 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.
TemplateModelException
public boolean isEmpty() throws TemplateModelException
isEmpty
in interface TemplateModel
false
to indicate the model is not empty
TemplateModelException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |