com.servingxml.components.recordmapping
Class RecordMappingRecordWriterAdaptor
java.lang.Object
com.servingxml.components.recordio.AbstractRecordWriter
com.servingxml.components.recordmapping.RecordMappingRecordWriterAdaptor
- All Implemented Interfaces:
- RecordWriter
public class RecordMappingRecordWriterAdaptor
- extends AbstractRecordWriter
- implements RecordWriter
A RecordMappingRecordWriterAdaptor
implements a RecordWriter
interface for transforming
flat file record values into SAX events.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordMappingRecordWriterAdaptor
public RecordMappingRecordWriterAdaptor(MapXml toXmlBinding,
org.xml.sax.ContentHandler handler)
startRecordStream
public void startRecordStream(ServiceContext context,
Flow flow)
- Specified by:
startRecordStream
in interface RecordWriter
writeRecord
public void writeRecord(ServiceContext context,
Flow flow)
- Specified by:
writeRecord
in interface RecordWriter
endRecordStream
public void endRecordStream(ServiceContext context,
Flow flow)
- Specified by:
endRecordStream
in interface RecordWriter
close
public void close()
- Specified by:
close
in interface RecordWriter