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

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

 class PrimitiveString
extends PrimitiveObject

This class is part of the command pattern implementation to instantiate an object. It is used as a command by the command invoker PrimitiveObject.

Author:
Philipp Erlacher

Constructor Summary
PrimitiveString()
           
 
Method Summary
 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

PrimitiveString

PrimitiveString()
Method Detail

getObject

public java.lang.Object getObject(java.lang.Class<?> type,
                                  java.lang.String value)
Description copied from class: PrimitiveObject
Object that matches given Class and Value

Overrides:
getObject in class PrimitiveObject
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