Home » Castor-1.3-src » org.exolab.castor » util » [javadoc | source]
org.exolab.castor.util
public interface: ObjectFactory [javadoc | source]

All Known Implementing Classes:
    DefaultObjectFactory

A simple interface for creating class instances
Method from org.exolab.castor.util.ObjectFactory Summary:
createInstance,   createInstance,   createInstance
Method from org.exolab.castor.util.ObjectFactory Detail:
 public Object createInstance(Class type) throws IllegalAccessException, InstantiationException
    Creates a default instance of the given class.
 public Object createInstance(Class type,
    Object[] args) throws IllegalAccessException, InstantiationException
    Creates a default instance of the given class.
 public Object createInstance(Class type,
    Class[] argTypes,
    Object[] args) throws IllegalAccessException, InstantiationException
    Creates a default instance of the given class.