org.vfny.geoserver.form.validation
Class ValidationTestEditorForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byorg.vfny.geoserver.form.validation.ValidationTestEditorForm
All Implemented Interfaces:
java.io.Serializable

public class ValidationTestEditorForm
extends org.apache.struts.action.ActionForm

ValidationTestEditorForm purpose.

Description of ValidationTestEditorForm ...

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
ValidationTestEditorForm()
           
 
Method Summary
 java.lang.String[] getAttributeHelp()
          Help text gernated from PropertyDescriptor.getShortDescription()
 java.lang.String getAttributeKey(int index)
           
 java.util.List getAttributeKeys()
          List of attribtue keys as text.
 java.util.List getAttributeValues()
          List of attribtue vales as text.
 java.lang.String getDescription()
          Access description property.
 java.lang.String getName()
          Access name property.
 java.lang.String getPlugInName()
          Access plugInName property.
 void reset(org.apache.struts.action.ActionMapping arg0, javax.servlet.http.HttpServletRequest request)
           
 void setAttributeValues(java.util.List list)
           
 void setDescription(java.lang.String description)
          Set description to description.
 void setName(java.lang.String name)
          Set name to name.
 java.util.Map toArgumentMap(TestConfig victim)
          Translate text representation of arguments to real values.
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationTestEditorForm

public ValidationTestEditorForm()
Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping arg0,
                  javax.servlet.http.HttpServletRequest request)

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)

toArgumentMap

public java.util.Map toArgumentMap(TestConfig victim)
                            throws java.lang.Exception
Translate text representation of arguments to real values.

Victim is required for access to BeanInfo

Throws:
java.lang.Exception

getAttributeKeys

public java.util.List getAttributeKeys()
List of attribtue keys as text.

These keys are really the propertyName associated with a BeanInfo


getAttributeValues

public java.util.List getAttributeValues()
List of attribtue vales as text.

To convert this value to a real java object you will need to use a BeanInfo Property descriptor.


getAttributeHelp

public java.lang.String[] getAttributeHelp()
Help text gernated from PropertyDescriptor.getShortDescription()


getAttributeKey

public java.lang.String getAttributeKey(int index)

setAttributeValues

public void setAttributeValues(java.util.List list)

getDescription

public java.lang.String getDescription()
Access description property.

Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Set description to description.

Parameters:
description - The description to set.

getName

public java.lang.String getName()
Access name property.

Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Set name to name.

Parameters:
name - The name to set.

getPlugInName

public java.lang.String getPlugInName()
Access plugInName property.

Returns:
Returns the plugInName.