|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--freemarker.testcase.models.TransformMethodWrapper2
Another test of the interaction between MethodModels and TransformModels.
TransformMethodWrapper2
Constructor Summary | |
TransformMethodWrapper2()
Creates new TransformMethodWrapper1 |
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 TransformMethodWrapper2()
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 |