Class Encoders.UUIDEncoder
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.encoding.Encoders
com.inductiveautomation.ignition.common.xmlserialization.encoding.Encoders.UUIDEncoder
- All Implemented Interfaces:
- ArrayElementEncoder,- AttributeEncoder,- Encoder
- Enclosing class:
- Encoders
- 
Nested Class SummaryNested classes/interfaces inherited from class com.inductiveautomation.ignition.common.xmlserialization.encoding.EncodersEncoders.BoolEncoder, Encoders.ByteEncoder, Encoders.ClassEncoder, Encoders.ColorEncoder, Encoders.DateEncoder, Encoders.DoubleEncoder, Encoders.FloatEncoder, Encoders.IntEncoder, Encoders.LongEncoder, Encoders.QualityCodeEncoder, Encoders.ShortEncoder, Encoders.SignatureEncoder, Encoders.StringEncoder, Encoders.UUIDEncoder
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintReport the number of bytes that a call toEncoder.objectToBinary(DataOutput, XMLSerializationContext, StringEncodingTable)will put on the output streamvoidobjectToBinary(DataOutput out, XMLSerializationContext context, StringEncodingTable stringTable) Encode the object as binary data by writing it to the provided DataOutput.voidobjectToString(Writer out, XMLSerializationContext context) Encode the object as character data by writing it to the provided Writer.voidresetObject(Object obj) Used to re-use this encoder for a different objectMethods inherited from class com.inductiveautomation.ignition.common.xmlserialization.encoding.EncodersforBoolean, forByte, forClass, forColor, forDate, forDouble, forFloat, forInt, forLong, forQualityCode, forShort, forSignature, forString, getCodecType
- 
Field Details- 
FACTORY
 
- 
- 
Constructor Details- 
UUIDEncoder
 
- 
- 
Method Details- 
objectToStringDescription copied from interface:EncoderEncode the object as character data by writing it to the provided Writer.- Throws:
- IOException
 
- 
objectToBinarypublic void objectToBinary(DataOutput out, XMLSerializationContext context, StringEncodingTable stringTable) throws IOException Description copied from interface:EncoderEncode the object as binary data by writing it to the provided DataOutput. It is preferrable not to write String data to the DataOutput, but instead use the string table to get an ID for the string, and write the ID instead. All strings that are given IDs will be written in a shared string pool.- Throws:
- IOException
 
- 
getBinaryLengthpublic int getBinaryLength()Description copied from interface:EncoderReport the number of bytes that a call toEncoder.objectToBinary(DataOutput, XMLSerializationContext, StringEncodingTable)will put on the output stream
- 
resetObjectDescription copied from interface:ArrayElementEncoderUsed to re-use this encoder for a different object
 
-