tiger.util
Class ObjectFactory

java.lang.Object
  |
  +--tiger.util.ObjectFactory

public class ObjectFactory
extends java.lang.Object

Creates object instances.

Author:
Fredrik Bertilsson

Constructor Summary
ObjectFactory()
           
 
Method Summary
static java.lang.Object createObject(java.lang.Class aClass, java.lang.String aInitValue)
           
static java.lang.Object createObject(java.lang.String aValue)
          Creates an object from a String with the syntax: ClassName(InitValue).
static java.lang.Object createObject(java.lang.String aClassName, java.lang.String aInitValue)
          Creates an object instance of the class with the given name.
static java.lang.Class findClass(java.lang.String aClassName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactory

public ObjectFactory()
Method Detail

createObject

public static java.lang.Object createObject(java.lang.String aValue)
Creates an object from a String with the syntax: ClassName(InitValue). For the rules of ClassName, see createObject(String, String).


createObject

public static java.lang.Object createObject(java.lang.String aClassName,
                                            java.lang.String aInitValue)
Creates an object instance of the class with the given name. The given classname does not need to include package name. If package name is excluded first packages java.lang and com.wmdata.datatype is searched. After that the packages given by system properties com.wmdata.kolumbi.datatypepackage. are searched.


createObject

public static java.lang.Object createObject(java.lang.Class aClass,
                                            java.lang.String aInitValue)

findClass

public static java.lang.Class findClass(java.lang.String aClassName)