com.arsdigita.formbuilder
Class TestProcessListener

java.lang.Object
  extended bycom.arsdigita.formbuilder.TestProcessListener
All Implemented Interfaces:
EventListener, FormProcessListener
Direct Known Subclasses:
TestAttributeListener

public class TestProcessListener
extends Object
implements FormProcessListener

This process listener is used to test submission of persistent forms created with the Form Builder administration UI. The listener simply logs all parameters submitted by the form.

Version:
$Id: //core-platform/dev/src/com/arsdigita/formbuilder/TestProcessListener.java#8 $
Author:
Peter Marklund

Field Summary
static String versionId
           
 
Constructor Summary
TestProcessListener()
           
 
Method Summary
 void process(FormSectionEvent formEvent)
          Performs a processing step on the data in the FormData object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

TestProcessListener

public TestProcessListener()
Method Detail

process

public void process(FormSectionEvent formEvent)
Description copied from interface: FormProcessListener
Performs a processing step on the data in the FormData object.

Implementations of this method are responsible for catching specific exceptions that may occur during processing, and either handling them internally or rethrowing them as instances of FormProcessException to be handled by the calling procedure.

Implementations of this method cannot assume success or failure of other FormProcessListeners associated with a particular FormModeel. Each implementation must act independently

Specified by:
process in interface FormProcessListener


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC