Package org.apache.tapestry5.plastic
Interface WhileCallback
-
public interface WhileCallback
Callback used withInstructionBuilder.doWhile(Condition, WhileCallback)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
buildBody(InstructionBuilder builder)
Provides the main code executed inside the loop.void
buildTest(InstructionBuilder builder)
Creates the code to be evaluated by theCondition
; often this involves loading a value from a variable or argument, orInstructionBuilder.dupe()
'ing the top value on the stack.
-
-
-
Method Detail
-
buildTest
void buildTest(InstructionBuilder builder)
Creates the code to be evaluated by theCondition
; often this involves loading a value from a variable or argument, orInstructionBuilder.dupe()
'ing the top value on the stack.
-
buildBody
void buildBody(InstructionBuilder builder)
Provides the main code executed inside the loop.
-
-