biz.c24.io.api.presentation
Class JsonSink

java.lang.Object
  extended by biz.c24.io.api.presentation.Sink
      extended by biz.c24.io.api.presentation.JsonSink
All Implemented Interfaces:
Serializable, Cloneable

public class JsonSink
extends Sink

See Also:
Serialized Form

Constructor Summary
JsonSink()
           
 
Method Summary
 Object clone()
           
 void writeObject(ComplexDataObject cdo)
          Writes an object to the writer or output stream that has been set.
 
Methods inherited from class biz.c24.io.api.presentation.Sink
checkInit, clearBatchIterators, getEncoding, getOutputStream, getWriter, registerBatchIterator, setEncoding, setOutputStream, setWriter, stream, unregisterBatchIterator, writer
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonSink

public JsonSink()
Method Detail

writeObject

public void writeObject(ComplexDataObject cdo)
                 throws IOException
Description copied from class: Sink
Writes an object to the writer or output stream that has been set.

Specified by:
writeObject in class Sink
Parameters:
cdo - The object to be written.
Throws:
IOException - If the complete object could not be written for any reason.

clone

public Object clone()
Specified by:
clone in class Sink


C24 Technologies © 2002-2012: All Rights Reserved.