|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.representation.Variant
org.restlet.representation.RepresentationInfo
org.restlet.representation.Representation
org.restlet.representation.CharacterRepresentation
org.restlet.representation.WriterRepresentation
fr.cnes.sitools.resources.geojson.representations.GeoJsonMongoDBRepresentation
public class GeoJsonMongoDBRepresentation
Produce a GeoJson representation from a DatabaseRequest, a geometry column and a list of converters
Field Summary |
---|
Fields inherited from class org.restlet.representation.Representation |
---|
UNKNOWN_SIZE |
Constructor Summary | |
---|---|
GeoJsonMongoDBRepresentation(DatabaseRequestParameters params,
java.lang.String geometryColName,
java.lang.String geometryTypeColName,
ConverterChained converterChained,
DataSet dataset,
org.restlet.Context context)
Constructor with a DatabaseRequestParameters, a geometryColName and a converterChained |
Method Summary | |
---|---|
void |
write(java.io.Writer writer)
|
Methods inherited from class org.restlet.representation.WriterRepresentation |
---|
getReader, release, write |
Methods inherited from class org.restlet.representation.CharacterRepresentation |
---|
getChannel, getStream, write |
Methods inherited from class org.restlet.representation.Representation |
---|
checkDigest, checkDigest, computeDigest, createEmpty, exhaust, getAvailableSize, getDigest, getDisposition, getDownloadName, getExpirationDate, getRange, getSize, getText, isAvailable, isDownloadable, isTransient, setAvailable, setDigest, setDisposition, setDownloadable, setDownloadName, setExpirationDate, setRange, setSize, setTransient |
Methods inherited from class org.restlet.representation.RepresentationInfo |
---|
getModificationDate, getTag, setModificationDate, setTag |
Methods inherited from class org.restlet.representation.Variant |
---|
createClientInfo, equals, getCharacterSet, getEncodings, getIdentifier, getLanguages, getLocationRef, getMediaType, includes, isCompatible, setCharacterSet, setEncodings, setIdentifier, setIdentifier, setLanguages, setLocationRef, setLocationRef, setMediaType, toString |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GeoJsonMongoDBRepresentation(DatabaseRequestParameters params, java.lang.String geometryColName, java.lang.String geometryTypeColName, ConverterChained converterChained, DataSet dataset, org.restlet.Context context)
params
- the DatabaseRequestParametersgeometryColName
- the name of the column containing the geometry datageometryTypeColName
- the name of the column containing the type of the geometry dataconverterChained
- the converter to applydataset
- the dataset, not used yetcontext
- the context, not used yetMethod Detail |
---|
public void write(java.io.Writer writer) throws java.io.IOException
write
in class org.restlet.representation.Representation
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |