public class DefaultWriterHandler extends Object implements DataHandler
Default handler used by SWE Data to write all values from the data list within the SWE Data.
Modifier and Type | Field and Description |
---|---|
protected int |
blockCount |
protected int |
blockNum |
protected SWEData |
sweData |
protected DataStreamWriter |
writer |
Constructor and Description |
---|
DefaultWriterHandler(SWEData sweData,
DataStreamWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
beginDataAtom(DataComponent info) |
void |
endData(DataComponent info,
DataBlock data) |
void |
endDataAtom(DataComponent info,
DataBlock data) |
void |
endDataBlock(DataComponent info,
DataBlock data) |
void |
startData(DataComponent info) |
void |
startDataBlock(DataComponent info) |
protected SWEData sweData
protected DataStreamWriter writer
protected int blockCount
protected int blockNum
public DefaultWriterHandler(SWEData sweData, DataStreamWriter writer)
public void startData(DataComponent info)
startData
in interface DataHandler
public void endData(DataComponent info, DataBlock data)
endData
in interface DataHandler
public void beginDataAtom(DataComponent info)
beginDataAtom
in interface DataHandler
public void endDataAtom(DataComponent info, DataBlock data)
endDataAtom
in interface DataHandler
public void startDataBlock(DataComponent info)
startDataBlock
in interface DataHandler
public void endDataBlock(DataComponent info, DataBlock data)
endDataBlock
in interface DataHandler
Copyright © 2016 Sensia Software LLC. All rights reserved.