org.springframework.data.repository.init
Class UnmarshallingResourceReader

java.lang.Object
  extended by org.springframework.data.repository.init.UnmarshallingResourceReader
All Implemented Interfaces:
ResourceReader

public class UnmarshallingResourceReader
extends Object
implements ResourceReader

Author:
Oliver Gierke

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.springframework.data.repository.init.ResourceReader
ResourceReader.Type
 
Constructor Summary
UnmarshallingResourceReader(org.springframework.oxm.Unmarshaller unmarshaller)
           
 
Method Summary
 Object readFrom(org.springframework.core.io.Resource resource, ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnmarshallingResourceReader

public UnmarshallingResourceReader(org.springframework.oxm.Unmarshaller unmarshaller)
Parameters:
unmarshaller -
Method Detail

readFrom

public Object readFrom(org.springframework.core.io.Resource resource,
                       ClassLoader classLoader)
                throws IOException
Specified by:
readFrom in interface ResourceReader
Throws:
IOException


Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.