spin.demo.prompt
Class PromptBeanImpl

java.lang.Object
  extended by spin.demo.prompt.PromptBeanImpl
All Implemented Interfaces:
PromptBean

public class PromptBeanImpl
extends java.lang.Object
implements PromptBean

Implementation of a prompt.


Constructor Summary
PromptBeanImpl()
          Constructor.
 
Method Summary
 java.lang.String get(int index)
          Get a value.
 void process(int index)
          Process.
 void process(Prompt prompt)
          Process.
 int size()
          Size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromptBeanImpl

public PromptBeanImpl()
Constructor.

Method Detail

size

public int size()
Size.

Specified by:
size in interface PromptBean
Returns:
the size

get

public java.lang.String get(int index)
Get a value.

Specified by:
get in interface PromptBean
Parameters:
index - index of value

process

public void process(int index)
Process.

Specified by:
process in interface PromptBean
Parameters:
index - index of value to process

process

public void process(Prompt prompt)
Process.

Specified by:
process in interface PromptBean
Parameters:
prompt - the prompt to use


Copyright © 2007. All Rights Reserved.