public static class Rectangle2DDoubleDelegate.Rectangle2DDoubleEncoder extends java.lang.Object implements Encoder
Constructor and Description |
---|
Rectangle2DDoubleEncoder(java.awt.geom.Rectangle2D.Double r) |
Modifier and Type | Method and Description |
---|---|
int |
getBinaryLength()
Report the number of bytes that a call to
Encoder.objectToBinary(DataOutput, XMLSerializationContext, StringEncodingTable) will put on the output stream |
void |
objectToBinary(java.io.DataOutput out,
XMLSerializationContext context,
StringEncodingTable stringTable)
Encode the object as binary data by writing it to the provided DataOutput.
|
void |
objectToString(java.io.Writer out,
XMLSerializationContext context)
Encode the object as character data by writing it to the provided Writer.
|
public Rectangle2DDoubleEncoder(java.awt.geom.Rectangle2D.Double r)
public void objectToString(java.io.Writer out, XMLSerializationContext context) throws java.io.IOException
Encoder
objectToString
in interface Encoder
java.io.IOException
public void objectToBinary(java.io.DataOutput out, XMLSerializationContext context, StringEncodingTable stringTable) throws java.io.IOException
Encoder
objectToBinary
in interface Encoder
java.io.IOException
public int getBinaryLength()
Encoder
Encoder.objectToBinary(DataOutput, XMLSerializationContext, StringEncodingTable)
will put on the output streamgetBinaryLength
in interface Encoder