public class StreetSearchResultsDtoSerializer extends Object implements IStreetSearchResultsDtoSerializer
GeolocResultsDto into several formats| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger
The logger
|
static String |
START_PAGINATION_INDEX_EXTRA_PARAMETER |
| Constructor and Description |
|---|
StreetSearchResultsDtoSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(OutputStream outputStream,
com.gisgraphy.serializer.common.OutputFormat outputFormat,
com.gisgraphy.domain.valueobject.StreetSearchResultsDto streetSearchResultsDto,
boolean indent,
Map<String,Object> extraParameters) |
public static final String START_PAGINATION_INDEX_EXTRA_PARAMETER
protected static final org.slf4j.Logger logger
public void serialize(OutputStream outputStream, com.gisgraphy.serializer.common.OutputFormat outputFormat, com.gisgraphy.domain.valueobject.StreetSearchResultsDto streetSearchResultsDto, boolean indent, Map<String,Object> extraParameters)
serialize in interface IStreetSearchResultsDtoSerializeroutputStream - 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)extraParameters - a map that contains named parameters (callback method, startpaginationindex, needed for RSS and ATOM)
the parameters can be use for a certain format but not for all)Copyright © 2015. All rights reserved.