Package com.microstrategy.web.app.maps
Interface GeoDataSerializer
-
- All Known Implementing Classes:
GeoDataByteSerializer
,GeoDataJSONSerializer
public interface GeoDataSerializer
The GeoData object serialization interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeoDataOutput
serialize(ComboGeoData comboGeoData)
Serialize theComboGeoData
object into a formatted string.GeoDataOutput
serialize(GeoPath path)
Serialize the theGeoPath
object into formatted string.GeoDataOutput
serialize(GeoPoint point)
Serialize the {@see GeoPoint} object into a formated stringGeoDataOutput
serialize(GeoPolygon polygon)
Serialize theGeoPolygon
object into a formatted string.GeoDataOutput
serialize(MultiGeoPolygon multiPolygon)
Serialize theMultiGeoPolygon
object into a formatted string.GeoDataOutput
serialize(MultiGeoPolyline polylines)
Serialize theMultiGeoPolyline
object 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 theGeoPath
object into formatted string.- Parameters:
path
- aGeoPath
object- Returns:
- a formatted string contains an array of GeoPoint data
-
serialize
GeoDataOutput serialize(GeoPolygon polygon)
Serialize theGeoPolygon
object into a formatted string.- Parameters:
polygon
- aGeoPolygon
object- Returns:
- a formatted string contains an array of rings of points.
-
serialize
GeoDataOutput serialize(MultiGeoPolyline polylines)
Serialize theMultiGeoPolyline
object into a formatted string.- Parameters:
polylines
- aMultiGeoPolyline
object- Returns:
- a formatted string contains an array of polyline objects.
-
serialize
GeoDataOutput serialize(MultiGeoPolygon multiPolygon)
Serialize theMultiGeoPolygon
object into a formatted string.- Parameters:
multiPolygon
- aMultiGeoPolygon
object- Returns:
- a formatted string contains an array of polygon objects.
-
serialize
GeoDataOutput serialize(ComboGeoData comboGeoData)
Serialize theComboGeoData
object into a formatted string.- Parameters:
comboGeoData
- aComboGeoData
object- Returns:
- a formatted string contains a collection of sub types of
GeoData
object.
-
-