Modifier and Type | Field and Description |
---|---|
private static Set<DecoderKey> |
DECODER_KEYS |
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
OgcDecoderv100() |
Modifier and Type | Method and Description |
---|---|
Object |
decode(org.apache.xmlbeans.XmlObject xmlObject)
Decode a object to another representation.
|
Set<String> |
getConformanceClasses() |
Set<DecoderKey> |
getDecoderKeyTypes() |
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
Get the ServiceConstants.SupportedTypeKey in the case of having only generic
java types, e.g.
|
private SpatialFilter |
parseBBOXFilterType(net.opengis.ogc.impl.BBOXTypeImpl xbBBOX)
Parses the spatial filter of a request.
|
private Object |
parseSpatialOperatorType(net.opengis.ogc.BinarySpatialOpType xbSpatialOpsType) |
private Object |
parseTemporalOperatorType(net.opengis.ogc.BinaryTemporalOpType xbBinaryTemporalOp)
parses a single temporal filter of the requests and returns SOS temporal
filter
|
private static final org.slf4j.Logger LOGGER
private static final Set<DecoderKey> DECODER_KEYS
public Set<DecoderKey> getDecoderKeyTypes()
getDecoderKeyTypes
in interface Decoder<Object,org.apache.xmlbeans.XmlObject>
DecoderKey
) is able to decodepublic Set<String> getConformanceClasses()
getConformanceClasses
in interface ConformanceClass
public Object decode(org.apache.xmlbeans.XmlObject xmlObject) throws OwsExceptionReport
Decoder
decode
in interface Decoder<Object,org.apache.xmlbeans.XmlObject>
xmlObject
- the object to encodeOwsExceptionReport
- if an error occursUnsupportedDecoderInputException
- if the supplied type (or any of it's contents) is not
supported by this decoderpublic Map<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Decoder
getSupportedTypes
in interface Decoder<Object,org.apache.xmlbeans.XmlObject>
private Object parseTemporalOperatorType(net.opengis.ogc.BinaryTemporalOpType xbBinaryTemporalOp) throws OwsExceptionReport
xbBinaryTemporalOp
- XmlObject representing the temporal filterOwsExceptionReport
- if parsing of the element failedprivate SpatialFilter parseBBOXFilterType(net.opengis.ogc.impl.BBOXTypeImpl xbBBOX) throws OwsExceptionReport
xbBBOX
- XmlBean representing the feature of interest parameter of the
requestOwsExceptionReport
- * if creation of the SpatialFilter failedprivate Object parseSpatialOperatorType(net.opengis.ogc.BinarySpatialOpType xbSpatialOpsType) throws OwsExceptionReport
OwsExceptionReport
Copyright © 2012-2014 52north.org. All Rights Reserved.