org.exoplatform.ws.frameworks.json.transformer
Class Json2BeanInputTransformer

java.lang.Object
  extended by org.exoplatform.services.rest.transformer.InputEntityTransformer
      extended by org.exoplatform.ws.frameworks.json.transformer.Json2BeanInputTransformer
All Implemented Interfaces:
GenericEntityTransformer, GenericInputEntityTransformer

public class Json2BeanInputTransformer
extends InputEntityTransformer

Created by The eXo Platform SARL. Author : Volodymyr Krasnikov volodymyr.krasnikov@exoplatform.com.ua


Field Summary
 
Fields inherited from class org.exoplatform.services.rest.transformer.InputEntityTransformer
entityType
 
Constructor Summary
Json2BeanInputTransformer()
           
 
Method Summary
 Object readFrom(InputStream entityDataStream)
          Build Objects from given InputStream.
 
Methods inherited from class org.exoplatform.services.rest.transformer.InputEntityTransformer
getType, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Json2BeanInputTransformer

public Json2BeanInputTransformer()
Method Detail

readFrom

public Object readFrom(InputStream entityDataStream)
                throws IOException
Build Objects from given InputStream.

Specified by:
readFrom in class InputEntityTransformer
Parameters:
entityDataStream - from this InputStream Object should be red.
Returns:
Object builded Object.
Throws:
IOException - Input/Output Exception.


Copyright © 2009 eXo Platform SAS. All Rights Reserved.