Class BasicHistoricalRecord.HistoricalRecordFlavor
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.history.HistoryFlavor
-
- com.inductiveautomation.ignition.gateway.history.BasicHistoricalRecord.HistoricalRecordFlavor
-
- Enclosing class:
- BasicHistoricalRecord
protected static class BasicHistoricalRecord.HistoricalRecordFlavor extends HistoryFlavor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.gateway.history.HistoryFlavor
HistoryFlavor.Base64XmlReader
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.gateway.history.HistoryFlavor
SQLTAG
-
-
Constructor Summary
Constructors Constructor Description HistoricalRecordFlavor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleXMLReader<HistoricalData>
getXmlImportHandler(GatewayContext context)
Gets the XML reader that can decode the output from writeToXml.void
writeToXml(SimpleXMLWriter writer, HistoricalData data)
-
Methods inherited from class com.inductiveautomation.ignition.gateway.history.HistoryFlavor
equals, equals, getDescription, isCompatible, subTypeId, toString, typeId
-
-
-
-
Method Detail
-
writeToXml
public void writeToXml(SimpleXMLWriter writer, HistoricalData data) throws java.lang.Exception
- Overrides:
writeToXml
in classHistoryFlavor
- Throws:
java.lang.Exception
-
getXmlImportHandler
public SimpleXMLReader<HistoricalData> getXmlImportHandler(GatewayContext context)
Description copied from class:HistoryFlavor
Gets the XML reader that can decode the output from writeToXml. The default implementation reads from base64. It is provided with the gateway context in case any special deserialization needs to occur.- Overrides:
getXmlImportHandler
in classHistoryFlavor
-
-