Class TagHistoryFlavor
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.history.HistoryFlavor
-
- com.inductiveautomation.ignition.gateway.history.TagHistoryFlavor
-
public class TagHistoryFlavor extends HistoryFlavor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
TagHistoryFlavor.TagXmlImportReader
-
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 TagHistoryFlavor()
-
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.protected void
writeRetirement(SimpleXMLWriter writer, TagRetirementList list)
protected void
writeScanclassSet(SimpleXMLWriter writer, ScanclassHistorySet data)
void
writeToXml(SimpleXMLWriter writer, HistoricalData data)
protected void
writeValue(SimpleXMLWriter writer, HistoricalTagValue v)
-
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
-
writeScanclassSet
protected void writeScanclassSet(SimpleXMLWriter writer, ScanclassHistorySet data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
writeValue
protected void writeValue(SimpleXMLWriter writer, HistoricalTagValue v) throws java.lang.Exception
- Throws:
java.lang.Exception
-
writeRetirement
protected void writeRetirement(SimpleXMLWriter writer, TagRetirementList list) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-