Package com.microstrategy.web.app.maps
Interface GeoDataSerializer
-
- All Known Implementing Classes:
GeoDataByteSerializer,GeoDataJSONSerializer
public interface GeoDataSerializerThe GeoData object serialization interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeoDataOutputserialize(ComboGeoData comboGeoData)Serialize theComboGeoDataobject into a formatted string.GeoDataOutputserialize(GeoPath path)Serialize the theGeoPathobject into formatted string.GeoDataOutputserialize(GeoPoint point)Serialize the {@see GeoPoint} object into a formated stringGeoDataOutputserialize(GeoPolygon polygon)Serialize theGeoPolygonobject into a formatted string.GeoDataOutputserialize(MultiGeoPolygon multiPolygon)Serialize theMultiGeoPolygonobject into a formatted string.GeoDataOutputserialize(MultiGeoPolyline polylines)Serialize theMultiGeoPolylineobject into a formatted string.
-
-
-
Method Detail
-
serialize
GeoDataOutput serialize(GeoPoint point)
Serialize the {@see GeoPoint} object into a formated string- Parameters:
point- a {@see GeoPoint} object- Returns:
- a formatted string contains GeoPoint data, normally include just lng and lat values
-
serialize
GeoDataOutput serialize(GeoPath path)
Serialize the theGeoPathobject into formatted string.- Parameters:
path- aGeoPathobject- Returns:
- a formatted string contains an array of GeoPoint data
-
serialize
GeoDataOutput serialize(GeoPolygon polygon)
Serialize theGeoPolygonobject into a formatted string.- Parameters:
polygon- aGeoPolygonobject- Returns:
- a formatted string contains an array of rings of points.
-
serialize
GeoDataOutput serialize(MultiGeoPolyline polylines)
Serialize theMultiGeoPolylineobject into a formatted string.- Parameters:
polylines- aMultiGeoPolylineobject- Returns:
- a formatted string contains an array of polyline objects.
-
serialize
GeoDataOutput serialize(MultiGeoPolygon multiPolygon)
Serialize theMultiGeoPolygonobject into a formatted string.- Parameters:
multiPolygon- aMultiGeoPolygonobject- Returns:
- a formatted string contains an array of polygon objects.
-
serialize
GeoDataOutput serialize(ComboGeoData comboGeoData)
Serialize theComboGeoDataobject into a formatted string.- Parameters:
comboGeoData- aComboGeoDataobject- Returns:
- a formatted string contains a collection of sub types of
GeoDataobject.
-
-