@Configurable public abstract class AbstractKvpDecoder extends Object implements Decoder<AbstractServiceRequest<?>,Map<String,String>>
Modifier and Type | Field and Description |
---|---|
private int |
defaultResponse3DEPSG |
private int |
defaultResponseEPSG |
protected static org.slf4j.Logger |
LOGGER |
private int |
storage3DEPSG |
private int |
storageEPSG |
protected static int |
VALID_COORDINATE_SIZE |
Constructor and Description |
---|
AbstractKvpDecoder() |
Modifier and Type | Method and Description |
---|---|
private TemporalFilter |
createTemporalFilterFromValue(String value,
String valueReference) |
Set<String> |
getConformanceClasses() |
protected SwesExtension<SweText> |
getCrsExtension(String crs) |
int |
getDefault3DEPSG()
Deprecated.
|
int |
getDefaultEPSG()
Deprecated.
|
int |
getDefaultResponse3DEPSG() |
int |
getDefaultResponseEPSG() |
protected SwesExtension<SweText> |
getLanguageExtension(String language) |
protected String |
getSrsNamePrefix() |
protected String |
getSrsNamePrefixSosV2() |
int |
getStorage3DEPSG() |
int |
getStorageEPSG() |
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
Get the ServiceConstants.SupportedTypeKey in the case of having only generic
java types, e.g.
|
protected SwesExtension<SweText> |
getSweTextFor(String identifier,
String value) |
protected boolean |
parseDefaultParameter(AbstractServiceRequest<?> request,
String parameterValues,
String parameterName) |
protected Map<String,String> |
parseNamespaces(String parameterValues) |
protected SpatialFilter |
parseSpatialFilter(List<String> parameterValues,
String parameterName) |
protected List<TemporalFilter> |
parseTemporalFilter(List<String> parameterValues,
String parameterName) |
protected Time |
parseTime(String parameterValue,
String parameterName) |
protected Time |
parseValidTime(String parameterValue,
String parameterName) |
void |
setDefault3DEpsg(int epsgCode3D)
Deprecated.
|
void |
setDefaultEpsg(int epsgCode)
Deprecated.
|
void |
setDefaultResponse3DEpsg(int epsgCode3D)
Set default response 3D EPSG code from settings
|
void |
setDefaultResponseEpsg(int epsgCode)
Set default response EPSG code from settings
|
void |
setStorage3DEpsg(int epsgCode3D)
Set storage 3D EPSG code from settings
|
void |
setStorageEpsg(int epsgCode)
Set storage EPSG code from settings
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, getDecoderKeyTypes
protected static final org.slf4j.Logger LOGGER
protected static final int VALID_COORDINATE_SIZE
private int storageEPSG
private int storage3DEPSG
private int defaultResponseEPSG
private int defaultResponse3DEPSG
public Set<String> getConformanceClasses()
getConformanceClasses
in interface ConformanceClass
public Map<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Decoder
getSupportedTypes
in interface Decoder<AbstractServiceRequest<?>,Map<String,String>>
@Deprecated public int getDefaultEPSG()
@Deprecated public int getDefault3DEPSG()
public int getStorageEPSG()
public int getStorage3DEPSG()
public int getDefaultResponseEPSG()
public int getDefaultResponse3DEPSG()
@Deprecated @Setting(value="service.defaultEpsg") public void setDefaultEpsg(int epsgCode) throws ConfigurationException
ConfigurationException
@Deprecated @Setting(value="service.default3DEpsg") public void setDefault3DEpsg(int epsgCode3D) throws ConfigurationException
ConfigurationException
@Setting(value="service.defaultEpsg") public void setStorageEpsg(int epsgCode) throws ConfigurationException
epsgCode
- EPSG code from settingsConfigurationException
- If an error occurs@Setting(value="service.default3DEpsg") public void setStorage3DEpsg(int epsgCode3D) throws ConfigurationException
epsgCode3D
- 3D EPSG code from settingsConfigurationException
- If an error occurs@Setting(value="service.defaultResponseEpsg") public void setDefaultResponseEpsg(int epsgCode) throws ConfigurationException
epsgCode
- EPSG code from settingsConfigurationException
- If an error occurs@Setting(value="service.defaultRespopnse3DEpsg") public void setDefaultResponse3DEpsg(int epsgCode3D) throws ConfigurationException
epsgCode3D
- 3D EPSG code from settingsConfigurationException
- If an error occursprotected boolean parseDefaultParameter(AbstractServiceRequest<?> request, String parameterValues, String parameterName) throws OwsExceptionReport
OwsExceptionReport
protected SpatialFilter parseSpatialFilter(List<String> parameterValues, String parameterName) throws OwsExceptionReport
OwsExceptionReport
protected Time parseValidTime(String parameterValue, String parameterName) throws OwsExceptionReport, DateTimeParseException
parameterValue
- parameterName
- OwsExceptionReport
DateTimeParseException
protected Time parseTime(String parameterValue, String parameterName) throws CodedException
parameterValue
- CodedException
protected List<TemporalFilter> parseTemporalFilter(List<String> parameterValues, String parameterName) throws OwsExceptionReport, DateTimeParseException
private TemporalFilter createTemporalFilterFromValue(String value, String valueReference) throws OwsExceptionReport, DateTimeParseException
protected String getSrsNamePrefix()
protected String getSrsNamePrefixSosV2()
protected SwesExtension<SweText> getLanguageExtension(String language)
protected SwesExtension<SweText> getCrsExtension(String crs)
protected SwesExtension<SweText> getSweTextFor(String identifier, String value)
Copyright © 2012-2015 52north.org. All Rights Reserved.