PageData Interface Definition.

Java Primer
A JSP Architecture for Oracle Stored Procedures
by Satya Komatineni
Listing 2. PageData Interface Definition.


public interface IPageData
{
  public String getValue(final String key);
  public ILoopData getControlHandler(final String name );
  public void formProcessingComplete();
  public boolean isDataAvailable();
}
public interface ILoopData
{
  public boolean isDataAvailable();
  public String getValue(final String key, int turn);
  public boolean getContinueFlag();
  public void formProcessingComplete();
}