webwork.examples
Class Primes

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bywebwork.examples.Primes
All Implemented Interfaces:
Action, IllegalArgumentAware, java.io.Serializable

public class Primes
extends ActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages, log
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
Primes()
           
 
Method Summary
protected  java.lang.String doExecute()
           
 int getEnd()
           
 boolean[] getPrimes()
           
 int getStart()
           
protected  boolean isPrime(int number)
           
 void setEnd(int end)
           
 void setStart(int start)
           
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, doValidation, execute, getActionName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getPropertyEditorMessage, getText, getTexts, getTexts, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Primes

public Primes()
Method Detail

setStart

public void setStart(int start)

getStart

public int getStart()

setEnd

public void setEnd(int end)

getEnd

public int getEnd()

getPrimes

public boolean[] getPrimes()

isPrime

protected boolean isPrime(int number)

doExecute

protected java.lang.String doExecute()
Overrides:
doExecute in class ActionSupport


Copyright © 2001-2003 WebWork All Rights Reserved.