objectivehtml.struts
Class FormConfigMap

java.lang.Object
  |
  +--objectivehtml.struts.FormConfigMap

public class FormConfigMap
extends java.lang.Object

This class holds a map of form configuration objects. The map holds a mapping of the form type with configuration object.


Constructor Summary
FormConfigMap()
           
 
Method Summary
 void addFormConfig(FormConfig objFormConfig)
          Adds a new ohtml-form configuration to this map.
 FormConfig getFormConfig(java.lang.String sName)
          Gets a ohtml-form configuration based on the name specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormConfigMap

public FormConfigMap()
Method Detail

addFormConfig

public void addFormConfig(FormConfig objFormConfig)
Adds a new ohtml-form configuration to this map. It will map the name of the form to the object.
Parameters:
objFormConfig - a configuration object to add

getFormConfig

public FormConfig getFormConfig(java.lang.String sName)
Gets a ohtml-form configuration based on the name specified.
Parameters:
sName - the name of the form
Returns:
an FormConfig object with the form configuration directives