|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfreemarker.testcase.models.TransformMethodWrapper1
public final class TransformMethodWrapper1
Simple test of the interaction between MethodModels and TransformModels.
TransformMethodWrapper2
Constructor Summary | |
---|---|
TransformMethodWrapper1()
Creates new TransformMethodWrapper1 |
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 TransformMethodWrapper1()
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 |