org.formproc
Class FormData

java.lang.Object
  |
  +--org.formproc.FormData

public class FormData
extends java.lang.Object

A name/value pair for a single form field.

Author:
Anthony Eden

Constructor Summary
FormData(java.lang.String name, java.lang.Object value)
          Construct a new FormData object for the given field name with the given value.
 
Method Summary
 java.lang.String getName()
          Get the field name.
 java.lang.Object getValue()
          Get the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormData

public FormData(java.lang.String name,
                java.lang.Object value)
Construct a new FormData object for the given field name with the given value. The value may be null if the field data was not submitted.

Parameters:
name - The field name
value - The value
Method Detail

getName

public java.lang.String getName()
Get the field name.

Returns:
The field name

getValue

public java.lang.Object getValue()
Get the value.

Returns:
The value


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