com.jtri.struts
Class RowFactory

java.lang.Object
  extended bycom.jtri.struts.RowFactory

public class RowFactory
extends java.lang.Object

A Factory class to initialize new Rows. This class may be overrided to provide default or calculated values to fields on client side.

Author:
atorres

Constructor Summary
RowFactory(PageStructure pg, java.lang.String colGetter, java.lang.Class c)
           
 
Method Summary
 java.lang.Object create()
           
 void init(java.lang.Object ob)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowFactory

public RowFactory(PageStructure pg,
                  java.lang.String colGetter,
                  java.lang.Class c)
Method Detail

create

public java.lang.Object create()

init

public void init(java.lang.Object ob)
          throws java.lang.IllegalAccessException,
                 java.lang.reflect.InvocationTargetException,
                 java.lang.NoSuchMethodException
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException