public class SosRequestEncoderv20 extends AbstractXmlEncoder<AbstractServiceRequest>
Modifier and Type | Field and Description |
---|---|
private static Set<EncoderKey> |
ENCODER_KEYS |
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
SosRequestEncoderv20() |
Modifier and Type | Method and Description |
---|---|
void |
addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
|
private org.apache.xmlbeans.XmlObject |
createGetResultRequest(GetResultRequest request) |
private org.apache.xmlbeans.XmlObject |
createGetResultTemplateRequest(GetResultTemplateRequest request) |
private void |
createSpatialFilter(net.opengis.sos.x20.GetResultType.SpatialFilter spatialFilter,
SpatialFilter sosSpatialFilter) |
private void |
createTemporalFilter(net.opengis.sos.x20.GetResultType.TemporalFilter temporalFilter,
TemporalFilter sosTemporalFilter) |
org.apache.xmlbeans.XmlObject |
encode(AbstractServiceRequest communicationObject)
Encodes the specified object.
|
org.apache.xmlbeans.XmlObject |
encode(AbstractServiceRequest request,
Map<SosConstants.HelperValues,String> additionalValues)
Encodes the specified object with the specified SosConstants.HelperValues
.
|
private org.apache.xmlbeans.XmlObject |
encodeRequests(AbstractServiceRequest request) |
Set<EncoderKey> |
getEncoderKeyType() |
Set<SchemaLocation> |
getSchemaLocations() |
getConformanceClasses, getContentType, getSupportedTypes
private static final org.slf4j.Logger LOGGER
private static final Set<EncoderKey> ENCODER_KEYS
public Set<EncoderKey> getEncoderKeyType()
EncoderKey
)public void addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
Encoder
addNamespacePrefixToMap
in interface Encoder<org.apache.xmlbeans.XmlObject,AbstractServiceRequest>
addNamespacePrefixToMap
in class AbstractXmlEncoder<AbstractServiceRequest>
public Set<SchemaLocation> getSchemaLocations()
getSchemaLocations
in interface Encoder<org.apache.xmlbeans.XmlObject,AbstractServiceRequest>
getSchemaLocations
in class AbstractXmlEncoder<AbstractServiceRequest>
public org.apache.xmlbeans.XmlObject encode(AbstractServiceRequest communicationObject) throws OwsExceptionReport
Encoder
encode
in interface Encoder<org.apache.xmlbeans.XmlObject,AbstractServiceRequest>
encode
in class AbstractXmlEncoder<AbstractServiceRequest>
communicationObject
- the object to encodeOwsExceptionReport
- if an error occursUnsupportedEncoderInputException
- if the supplied object (or any of it's contents) is not
supported by this encoderpublic org.apache.xmlbeans.XmlObject encode(AbstractServiceRequest request, Map<SosConstants.HelperValues,String> additionalValues) throws OwsExceptionReport
Encoder
request
- the object to encodeadditionalValues
- the helper valuesOwsExceptionReport
- if an error occursUnsupportedEncoderInputException
- if the supplied object (or any of it's contents) is not
supported by this encoderprivate org.apache.xmlbeans.XmlObject encodeRequests(AbstractServiceRequest request) throws OwsExceptionReport
OwsExceptionReport
private org.apache.xmlbeans.XmlObject createGetResultTemplateRequest(GetResultTemplateRequest request)
private org.apache.xmlbeans.XmlObject createGetResultRequest(GetResultRequest request) throws OwsExceptionReport
OwsExceptionReport
private void createTemporalFilter(net.opengis.sos.x20.GetResultType.TemporalFilter temporalFilter, TemporalFilter sosTemporalFilter) throws OwsExceptionReport
OwsExceptionReport
private void createSpatialFilter(net.opengis.sos.x20.GetResultType.SpatialFilter spatialFilter, SpatialFilter sosSpatialFilter) throws OwsExceptionReport
OwsExceptionReport
Copyright © 2012-2015 52north.org. All Rights Reserved.