com.servingxml.components.recordio
Class RecordWriter.NullRecordWriter

java.lang.Object
  extended by com.servingxml.components.recordio.RecordWriter.NullRecordWriter
All Implemented Interfaces:
RecordWriter
Enclosing interface:
RecordWriter

public static class RecordWriter.NullRecordWriter
extends java.lang.Object
implements RecordWriter


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.servingxml.components.recordio.RecordWriter
RecordWriter.DefaultDiscardWriter, RecordWriter.NullRecordWriter
 
Field Summary
 
Fields inherited from interface com.servingxml.components.recordio.RecordWriter
DEFAULT_DISCARD_WRITER, NULL
 
Constructor Summary
RecordWriter.NullRecordWriter()
           
 
Method Summary
 void close()
           
 void endRecordStream(ServiceContext context, Flow flow)
           
 void startRecordStream(ServiceContext context, Flow flow)
           
 void writeRecord(ServiceContext context, Flow flow)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordWriter.NullRecordWriter

public RecordWriter.NullRecordWriter()
Method Detail

startRecordStream

public final void startRecordStream(ServiceContext context,
                                    Flow flow)
Specified by:
startRecordStream in interface RecordWriter

endRecordStream

public final void endRecordStream(ServiceContext context,
                                  Flow flow)
Specified by:
endRecordStream in interface RecordWriter

writeRecord

public final void writeRecord(ServiceContext context,
                              Flow flow)
Specified by:
writeRecord in interface RecordWriter

close

public final void close()
Specified by:
close in interface RecordWriter