org.formproc.store
Class ReflectionStorer

java.lang.Object
  |
  +--org.formproc.store.AbstractStorer
        |
        +--org.formproc.store.ReflectionStorer
All Implemented Interfaces:
Storer

public class ReflectionStorer
extends AbstractStorer

Implementation of the Storer interface which uses reflection to store the specified field value in the target object of the specified Form.

Author:
Anthony Eden

Constructor Summary
ReflectionStorer()
          Construct a new ReflectionStorer.
 
Method Summary
 void store(Form form, java.lang.String name, java.lang.Object value, java.util.Locale locale)
          Store the field data in the target object.
 
Methods inherited from class org.formproc.store.AbstractStorer
loadConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionStorer

public ReflectionStorer()
Construct a new ReflectionStorer.

Method Detail

store

public void store(Form form,
                  java.lang.String name,
                  java.lang.Object value,
                  java.util.Locale locale)
           throws java.lang.Exception
Store the field data in the target object.

Parameters:
name - The field name
value - The field value
form - The form
locale - The Locale
Throws:
java.lang.Exception


Copyright (c) 2001-2003 Anthony Eden. All Rights Reserved.