at.davinci.control
Class SimpleTypeCaster

java.lang.Object
  extended by at.davinci.control.SimpleTypeCaster
Direct Known Subclasses:
HttpTypeCaster

public class SimpleTypeCaster
extends java.lang.Object


Constructor Summary
SimpleTypeCaster()
           
 
Method Summary
 java.lang.Object typeCast(java.lang.Object orig, java.lang.Class toType)
          the original type normally is only of type String
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTypeCaster

public SimpleTypeCaster()
Method Detail

typeCast

public java.lang.Object typeCast(java.lang.Object orig,
                                 java.lang.Class toType)
                          throws java.lang.ClassCastException
the original type normally is only of type String

Parameters:
orig -
toType -
Returns:
the casted object
Throws:
java.lang.ClassCastException