Class Rectangle2DDoubleDelegate.Rectangle2DDoubleEncoder
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.serialization.delegates.Rectangle2DDoubleDelegate.Rectangle2DDoubleEncoder
- All Implemented Interfaces:
- Encoder
- Enclosing class:
- Rectangle2DDoubleDelegate
- 
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.
- 
Constructor Details- 
Rectangle2DDoubleEncoder
 
- 
- 
Method Details- 
objectToStringDescription copied from interface:EncoderEncode the object as character data by writing it to the provided Writer.- Specified by:
- objectToStringin interface- Encoder
- 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.- Specified by:
- objectToBinaryin interface- Encoder
- 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- Specified by:
- getBinaryLengthin interface- Encoder
 
 
-