org.openregistry.core.web
Class SponsorConverter

java.lang.Object
  extended by org.springframework.binding.convert.converters.StringToObject
      extended by org.openregistry.core.web.SponsorConverter
All Implemented Interfaces:
org.springframework.binding.convert.converters.Converter, org.springframework.binding.convert.converters.TwoWayConverter

public final class SponsorConverter
extends org.springframework.binding.convert.converters.StringToObject

Created by IntelliJ IDEA. User: nmond Date: Apr 28, 2009 Time: 3:33:37 PM To change this template use File | Settings | File Templates.


Constructor Summary
SponsorConverter(PersonRepository personRepository)
           
 
Method Summary
protected  java.lang.Object toObject(java.lang.String string, java.lang.Class targetClass)
           
protected  java.lang.String toString(java.lang.Object object)
           
 
Methods inherited from class org.springframework.binding.convert.converters.StringToObject
convertSourceToTargetClass, convertTargetToSourceClass, getSourceClass, getTargetClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SponsorConverter

public SponsorConverter(PersonRepository personRepository)
Method Detail

toObject

protected java.lang.Object toObject(java.lang.String string,
                                    java.lang.Class targetClass)
                             throws java.lang.Exception
Specified by:
toObject in class org.springframework.binding.convert.converters.StringToObject
Throws:
java.lang.Exception

toString

protected java.lang.String toString(java.lang.Object object)
                             throws java.lang.Exception
Specified by:
toString in class org.springframework.binding.convert.converters.StringToObject
Throws:
java.lang.Exception


Copyright © 2009-2012 JA-SIG, Inc.. All Rights Reserved.