com.gisgraphy.domain.geoloc.service.geoloc
Class GeolocResultsDtoSerializer
java.lang.Object
com.gisgraphy.domain.geoloc.service.geoloc.GeolocResultsDtoSerializer
- All Implemented Interfaces:
- IGeolocResultsDtoSerializer
public class GeolocResultsDtoSerializer
- extends java.lang.Object
- implements IGeolocResultsDtoSerializer
serialize @link GeolocResultsDto
into several formats
- Author:
- David Masclet
Field Summary |
protected net.sf.json.JsonConfig |
jsonConfig
Json filter, to not serialize all the properties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jsonConfig
protected net.sf.json.JsonConfig jsonConfig
- Json filter, to not serialize all the properties
GeolocResultsDtoSerializer
public GeolocResultsDtoSerializer()
- Default Constructor
serialize
public void serialize(java.io.OutputStream outputStream,
Output.OutputFormat outputFormat,
GeolocResultsDto geolocResultsDto,
boolean indent,
int startPaginationIndex)
- Specified by:
serialize
in interface IGeolocResultsDtoSerializer
- Parameters:
outputStream
- the OutputStream
to serialize inoutputFormat
- the outputFormat we'd like to serialize the geolocResultsDtogeolocResultsDto
- the geolocResultsDto to serializeindent
- whether the stream should be indented (if the format support indentation)
Copyright © 2009. All Rights Reserved.