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

java.lang.Object
  extended by org.exolab.castor.xml.parsing.primitive.objects.PrimitiveObject
Direct Known Subclasses:
PrimitiveBigDecimal, PrimitiveBigInteger, PrimitiveBoolean, PrimitiveByte, PrimitiveChar, PrimitiveDouble, PrimitiveEnum, PrimitiveFloat, PrimitiveInteger, PrimitiveLong, PrimitiveShort, PrimitiveString

 class PrimitiveObject
extends java.lang.Object

This class uses the command pattern. It implements the abstract Command and is used as Command Invoker

Author:
Philipp Erlacher

Constructor Summary
PrimitiveObject()
           
 
Method Summary
(package private)  java.lang.Object getObject(java.lang.Class<?> type, java.lang.String value)
          Object that matches given Class and Value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveObject

PrimitiveObject()
Method Detail

getObject

java.lang.Object getObject(java.lang.Class<?> type,
                           java.lang.String value)
Object that matches given Class and Value

Parameters:
type - type of object which should be instantiated
value - value of the object which should be instantiated
Returns:
Object


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com