org.apache.tapestry5.plastic
Interface WhileCallback


public interface WhileCallback

Callback used with InstructionBuilder.doWhile(Condition, WhileCallback).


Method Summary
 void buildBody(InstructionBuilder builder)
          Provides the main code executed inside the loop.
 void buildTest(InstructionBuilder builder)
          Creates the code to be evaluated by the Condition; often this involves loading a value from a variable or argument, or InstructionBuilder.dupe()'ing the top value on the stack.
 

Method Detail

buildTest

void buildTest(InstructionBuilder builder)
Creates the code to be evaluated by the Condition; often this involves loading a value from a variable or argument, or InstructionBuilder.dupe()'ing the top value on the stack.


buildBody

void buildBody(InstructionBuilder builder)
Provides the main code executed inside the loop.



Copyright © 2003-2012 The Apache Software Foundation.