org.exolab.castor.xml.parsing.primitive.objects
Class PrimitiveObjectFactory

java.lang.Object
  extended by org.exolab.castor.xml.parsing.primitive.objects.PrimitiveObjectFactory

public class PrimitiveObjectFactory
extends Object

This class is used as a factory to get an instance of a class with a given value.


Constructor Summary
PrimitiveObjectFactory()
           
 
Method Summary
static Object getObject(Class<?> type, String value)
          returns an instantiated Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveObjectFactory

public PrimitiveObjectFactory()
Method Detail

getObject

public static Object getObject(Class<?> type,
                               String value)
returns an instantiated Object

Returns:


Copyright © 2011. All Rights Reserved.