@Configurable public abstract class AbstractKvpDecoder extends Object implements Decoder<AbstractServiceRequest,Map<String,String>>
Modifier and Type | Field and Description |
---|---|
private int |
default3DEPSG |
private int |
defaultEPSG |
protected static org.slf4j.Logger |
LOGGER |
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() |
int |
getDefault3DEPSG() |
int |
getDefaultEPSG() |
protected String |
getSrsNamePrefix() |
protected String |
getSrsNamePrefixSosV2() |
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
Get the ServiceConstants.SupportedTypeKey in the case of having only generic
java types, e.g.
|
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) |
void |
setDefaultEpsg(int epsgCode) |
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 defaultEPSG
private int default3DEPSG
public Set<String> getConformanceClasses()
getConformanceClasses
in interface ConformanceClass
public Map<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Decoder
getSupportedTypes
in interface Decoder<AbstractServiceRequest,Map<String,String>>
public int getDefaultEPSG()
public int getDefault3DEPSG()
@Setting(value="service.defaultEpsg") public void setDefaultEpsg(int epsgCode) throws ConfigurationException
ConfigurationException
@Setting(value="service.default3DEpsg") public void setDefault3DEpsg(int epsgCode3D) throws ConfigurationException
ConfigurationException
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()
Copyright © 2012-2014 52north.org. All Rights Reserved.