|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--freemarker.template.instruction.EmptyInstruction | +--freemarker.template.instruction.CallInstruction
An instruction representing a function call.
Fields inherited from interface freemarker.template.instruction.Instruction |
BREAK, CASE, COMMENT_END, COMPRESS_END, DEFAULT, ELSE, ELSEIF, FOREACH_END, FUNCTION_END, IF_END, LIST_END, NONE, NOPARSE_END, SWITCH_END, TRANSFORM_END |
Constructor Summary | |
CallInstruction(MethodCall methodCall)
Constructor for a function call. |
Method Summary | |
void |
process(TemplateModelRoot modelRoot,
java.io.Writer out,
TemplateRuntimeHandler eventHandler)
Process this <call ... |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class freemarker.template.instruction.EmptyInstruction |
callBuilder, getEndType, isEndInstruction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CallInstruction(MethodCall methodCall)
methodCall
- the method call expression representing the arguments
to be passed to the functionNullPointerException
- the method call expression was nullMethod Detail |
public void process(TemplateModelRoot modelRoot, java.io.Writer out, TemplateRuntimeHandler eventHandler) throws java.io.IOException
<call ... >
modelRoot
- the root node of the data modelout
- a Writer
to send the output toeventHandler
- a TemplateEventAdapter
for handling any
events that occur during processingpublic java.lang.String toString()
toString
in class java.lang.Object
String
representing this instruction subtree
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |