sky.engine.form
Class HttpForm

java.lang.Object
  extended bysky.engine.form.BaseForm
      extended bysky.engine.form.HttpForm
All Implemented Interfaces:
Form
Direct Known Subclasses:
HttpImageForm

public class HttpForm
extends BaseForm
implements Form


Field Summary
protected  DatabaseConnector _conn
           
protected  SkyContext _context
           
protected  EmailConnector _email
           
protected  java.io.PrintWriter _writer
           
 
Fields inherited from class sky.engine.form.BaseForm
_fields, _name, STRINGS
 
Constructor Summary
HttpForm(SkyContext context)
           
 
Method Summary
 void destory()
           
 void destroy()
          administrative functions
 void execute()
           
 void popField(Field f)
           
 void sendRedirect(java.lang.String url)
           
 
Methods inherited from class sky.engine.form.BaseForm
addField, clear, getField, getFieldCount, getFields, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface sky.engine.form.Form
addField, clear, getField, getFieldCount, getFields, validate
 

Field Detail

_context

protected SkyContext _context

_writer

protected java.io.PrintWriter _writer

_conn

protected DatabaseConnector _conn

_email

protected EmailConnector _email
Constructor Detail

HttpForm

public HttpForm(SkyContext context)
         throws Message
Method Detail

destory

public void destory()

popField

public void popField(Field f)
              throws ErrorMessage
Specified by:
popField in interface Form
Overrides:
popField in class BaseForm
Throws:
ErrorMessage

sendRedirect

public void sendRedirect(java.lang.String url)
                  throws Message
Throws:
Message

execute

public void execute()
             throws Message
Specified by:
execute in interface Form
Overrides:
execute in class BaseForm
Throws:
Message

destroy

public void destroy()
Description copied from interface: Form
administrative functions

Specified by:
destroy in interface Form
Overrides:
destroy in class BaseForm