com.gisgraphy.domain.geoloc.service.geoloc
Class StreetSearchResultsDtoSerializer
java.lang.Object
com.gisgraphy.domain.geoloc.service.geoloc.StreetSearchResultsDtoSerializer
- All Implemented Interfaces:
- IStreetSearchResultsDtoSerializer
public class StreetSearchResultsDtoSerializer
- extends java.lang.Object
- implements IStreetSearchResultsDtoSerializer
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 |
protected static org.slf4j.Logger |
logger
The logger |
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
logger
protected static final org.slf4j.Logger logger
- The logger
StreetSearchResultsDtoSerializer
public StreetSearchResultsDtoSerializer()
- Default Constructor
serialize
public void serialize(java.io.OutputStream outputStream,
Output.OutputFormat outputFormat,
StreetSearchResultsDto streetSearchResultsDto,
boolean indent,
int startPaginationIndex)
- Specified by:
serialize
in interface IStreetSearchResultsDtoSerializer
- Parameters:
outputStream
- the OutputStream
to serialize inoutputFormat
- the outputFormat we'd like to serialize the geolocResultsDtostreetSearchResultsDto
- the geolocResultsDto to serializeindent
- whether the stream should be indented (if the format support indentation)startPaginationIndex
- the pagination index (needed for RSS and ATOM)
Copyright © 2010. All Rights Reserved.