Class Ellipse2DFloatDelegate.Ellipse2DFloatEncoder
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.serialization.delegates.Ellipse2DFloatDelegate.Ellipse2DFloatEncoder
- All Implemented Interfaces:
Encoder
- Enclosing class:
- Ellipse2DFloatDelegate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Report the number of bytes that a call toEncoder.objectToBinary(DataOutput, XMLSerializationContext, StringEncodingTable)
will put on the output streamvoid
objectToBinary
(DataOutput out, XMLSerializationContext context, StringEncodingTable stringTable) Encode the object as binary data by writing it to the provided DataOutput.void
objectToString
(Writer out, XMLSerializationContext context) Encode the object as character data by writing it to the provided Writer.
-
Constructor Details
-
Ellipse2DFloatEncoder
-
-
Method Details
-
objectToString
Description copied from interface:Encoder
Encode the object as character data by writing it to the provided Writer.- Specified by:
objectToString
in interfaceEncoder
- Throws:
IOException
-
objectToBinary
public void objectToBinary(DataOutput out, XMLSerializationContext context, StringEncodingTable stringTable) throws IOException Description copied from interface:Encoder
Encode 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.- Specified by:
objectToBinary
in interfaceEncoder
- Throws:
IOException
-
getBinaryLength
public int getBinaryLength()Description copied from interface:Encoder
Report the number of bytes that a call toEncoder.objectToBinary(DataOutput, XMLSerializationContext, StringEncodingTable)
will put on the output stream- Specified by:
getBinaryLength
in interfaceEncoder
-