public class GeoElementSerializer extends GeometrySerializer
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
NO_ELEMENT
The
NO_ELEMENT constant defines the result of the
serialization of a compressed empty JMapGeoElement array. |
ris, ros| Constructor and Description |
|---|
GeoElementSerializer() |
| Modifier and Type | Method and Description |
|---|---|
JMapGeoElement[] |
deserializeElements(byte[] buffer) |
JMapGeoElement[] |
deserializeElements(java.io.InputStream is) |
protected JMapGeoElement[] |
deserializeElementsImpl(java.io.InputStream is) |
byte[] |
serializeElements(JMapGeoElement[] elements) |
void |
serializeElements(JMapGeoElement[] elements,
java.io.OutputStream os) |
protected void |
serializeElementsImpl(JMapGeoElement[] elements,
java.io.OutputStream os) |
deserializeGeometry, deserializeGeometry, deserializeGeometry, serializeGeometry, serializeGeometrypublic static final byte[] NO_ELEMENT
NO_ELEMENT constant defines the result of the
serialization of a compressed empty JMapGeoElement array.public byte[] serializeElements(JMapGeoElement[] elements) throws java.io.IOException
java.io.IOExceptionpublic void serializeElements(JMapGeoElement[] elements, java.io.OutputStream os) throws java.io.IOException
java.io.IOExceptionprotected void serializeElementsImpl(JMapGeoElement[] elements, java.io.OutputStream os) throws java.io.IOException
java.io.IOExceptionpublic JMapGeoElement[] deserializeElements(byte[] buffer) throws java.io.IOException
java.io.IOExceptionpublic JMapGeoElement[] deserializeElements(java.io.InputStream is) throws java.io.IOException
java.io.IOExceptionprotected JMapGeoElement[] deserializeElementsImpl(java.io.InputStream is) throws java.io.IOException
java.io.IOException