|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.pow2.struts.forms.FormsUtil
FormUtil class
| Constructor Summary | |
FormsUtil()
|
|
| Method Summary | |
static void |
populate(org.apache.struts.action.ActionForm target,
Object source)
Transfer data from a source value object to a target ActionForm. |
static void |
populate(Object target,
org.apache.struts.action.ActionForm source)
Transfer data from a source ActionForm to a target value object. |
static void |
populate(Object target,
Map sourceMap)
Transfer data from a source Map to a target value object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FormsUtil()
| Method Detail |
public static void populate(Object target,
org.apache.struts.action.ActionForm source)
throws Exception
target - the target object that will receive the data from the source ActionFormsource - the source ActionForm that will send the data to the target object
Exception - if any error occurs
public static void populate(org.apache.struts.action.ActionForm target,
Object source)
throws Exception
target - the target ActionForm that will receive the data from the source objectsource - the source object that will send the data to the target ActionForm
Exception - if any error occurs
public static void populate(Object target,
Map sourceMap)
throws Exception
target - the target object that will receive the data from the source ActionFormsourceMap - the Map object that provides the entire set of properties for which
the specified bean provides a read method
Exception - if any error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||