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.


Method Summary
static PrimitiveObjectFactory getInstance()
           
 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
 

Method Detail

getInstance

public static PrimitiveObjectFactory getInstance()

getObject

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

Returns:


Copyright © 2013. All Rights Reserved.