Package com.microstrategy.web.app.maps
Class GeoDataByteSerializer
- java.lang.Object
 - 
- com.microstrategy.web.app.maps.GeoDataByteSerializer
 
 
- 
- All Implemented Interfaces:
 GeoDataSerializer
public class GeoDataByteSerializer extends java.lang.Object implements GeoDataSerializer
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static intLAT_LNG_OUTPUTstatic intLNG_LAT_OUTPUTprotected intserializationSequence 
- 
Constructor Summary
Constructors Constructor Description GeoDataByteSerializer(int sequence) 
- 
Method Summary
All Methods Instance Methods Concrete 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. 
 - 
 
- 
- 
Field Detail
- 
LAT_LNG_OUTPUT
public static final int LAT_LNG_OUTPUT
- See Also:
 - Constant Field Values
 
 
- 
LNG_LAT_OUTPUT
public static final int LNG_LAT_OUTPUT
- See Also:
 - Constant Field Values
 
 
- 
serializationSequence
protected int serializationSequence
 
 - 
 
- 
Method Detail
- 
serialize
public GeoDataOutput serialize(GeoPoint point)
Description copied from interface:GeoDataSerializerSerialize the {@see GeoPoint} object into a formated string- Specified by:
 serializein interfaceGeoDataSerializer- Parameters:
 point- a {@see GeoPoint} object- Returns:
 - a formatted string contains GeoPoint data, normally include just lng and lat values
 
 
- 
serialize
public GeoDataOutput serialize(GeoPath path)
Description copied from interface:GeoDataSerializerSerialize the theGeoPathobject into formatted string.- Specified by:
 serializein interfaceGeoDataSerializer- Parameters:
 path- aGeoPathobject- Returns:
 - a formatted string contains an array of GeoPoint data
 
 
- 
serialize
public GeoDataOutput serialize(GeoPolygon polygon)
Description copied from interface:GeoDataSerializerSerialize theGeoPolygonobject into a formatted string.- Specified by:
 serializein interfaceGeoDataSerializer- Parameters:
 polygon- aGeoPolygonobject- Returns:
 - a formatted string contains an array of rings of points.
 
 
- 
serialize
public GeoDataOutput serialize(MultiGeoPolyline polylines)
Description copied from interface:GeoDataSerializerSerialize theMultiGeoPolylineobject into a formatted string.- Specified by:
 serializein interfaceGeoDataSerializer- Parameters:
 polylines- aMultiGeoPolylineobject- Returns:
 - a formatted string contains an array of polyline objects.
 
 
- 
serialize
public GeoDataOutput serialize(MultiGeoPolygon multiPolygon)
Description copied from interface:GeoDataSerializerSerialize theMultiGeoPolygonobject into a formatted string.- Specified by:
 serializein interfaceGeoDataSerializer- Parameters:
 multiPolygon- aMultiGeoPolygonobject- Returns:
 - a formatted string contains an array of polygon objects.
 
 
- 
serialize
public GeoDataOutput serialize(ComboGeoData comboGeoData)
Description copied from interface:GeoDataSerializerSerialize theComboGeoDataobject into a formatted string.- Specified by:
 serializein interfaceGeoDataSerializer- Parameters:
 comboGeoData- aComboGeoDataobject- Returns:
 - a formatted string contains a collection of sub types of 
GeoDataobject. 
 
 - 
 
 -