org.exoplatform.ws.frameworks.json.transformer
Class Bean2JsonOutputTransformer
java.lang.Object
org.exoplatform.services.rest.transformer.OutputEntityTransformer
org.exoplatform.ws.frameworks.json.transformer.Bean2JsonOutputTransformer
- All Implemented Interfaces:
- GenericEntityTransformer, GenericOutputEntityTransformer
public class Bean2JsonOutputTransformer
- extends OutputEntityTransformer
Created by The eXo Platform SARL.
Author : Volodymyr Krasnikov
volodymyr.krasnikov@exoplatform.com.ua
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bean2JsonOutputTransformer
public Bean2JsonOutputTransformer()
writeTo
public void writeTo(Object entity,
OutputStream entityDataStream)
throws IOException
- Write entity to OutputStream.
- Specified by:
writeTo in class OutputEntityTransformer
- Parameters:
entity - the Object which should be writedentityDataStream - the OutputStream
- Throws:
IOException - Input/Output Exception
Copyright © 2009 eXo Platform SAS. All Rights Reserved.