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, serializeGeometry
public 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.IOException
public void serializeElements(JMapGeoElement[] elements, java.io.OutputStream os) throws java.io.IOException
java.io.IOException
protected void serializeElementsImpl(JMapGeoElement[] elements, java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public JMapGeoElement[] deserializeElements(byte[] buffer) throws java.io.IOException
java.io.IOException
public JMapGeoElement[] deserializeElements(java.io.InputStream is) throws java.io.IOException
java.io.IOException
protected JMapGeoElement[] deserializeElementsImpl(java.io.InputStream is) throws java.io.IOException
java.io.IOException