@Configurable public class IoosOmEncoderv100 extends Object implements org.n52.sos.encode.ObservationEncoder<org.apache.xmlbeans.XmlObject,Object>
| Modifier and Type | Field and Description |
|---|---|
private static Set<String> |
CONFORMANCE_CLASSES |
private static org.n52.sos.util.http.MediaType |
CONTENT_TYPE_IOOS_OM_M10 |
private String |
disclaimer
Disclaimer from IoosSettings
|
private static Set<org.n52.sos.encode.EncoderKey> |
ENCODER_KEYS |
private static org.slf4j.Logger |
LOGGER
logger
|
private static Map<String,Map<String,Set<String>>> |
SUPPORTED_RESPONSE_FORMATS |
private static Map<org.n52.sos.service.ServiceConstants.SupportedTypeKey,Set<String>> |
SUPPORTED_TYPES |
| Constructor and Description |
|---|
IoosOmEncoderv100() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap) |
protected org.apache.xmlbeans.XmlObject |
createObservationCollection(List<org.n52.sos.ogc.om.OmObservation> sosObservationCollection,
String resultModel) |
org.apache.xmlbeans.XmlObject |
encode(Object element) |
org.apache.xmlbeans.XmlObject |
encode(Object element,
Map<org.n52.sos.ogc.sos.SosConstants.HelperValues,String> additionalValues) |
protected org.apache.xmlbeans.XmlObject |
encodeIoosObservation(IoosSosObservation ioosSosObs) |
Set<String> |
getConformanceClasses() |
org.n52.sos.util.http.MediaType |
getContentType() |
Set<org.n52.sos.encode.EncoderKey> |
getEncoderKeyType() |
Set<org.n52.sos.w3c.SchemaLocation> |
getSchemaLocations() |
Set<String> |
getSupportedResponseFormats(String service,
String version) |
Map<org.n52.sos.service.ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes() |
boolean |
isObservationAndMeasurmentV20Type() |
void |
setDisclaimer(String disclaimer) |
boolean |
shouldObservationsWithSameXBeMerged() |
boolean |
supportsResultStreamingForMergedValues() |
private static final org.slf4j.Logger LOGGER
private static org.n52.sos.util.http.MediaType CONTENT_TYPE_IOOS_OM_M10
private static final Map<org.n52.sos.service.ServiceConstants.SupportedTypeKey,Set<String>> SUPPORTED_TYPES
private static final Map<String,Map<String,Set<String>>> SUPPORTED_RESPONSE_FORMATS
private static final Set<org.n52.sos.encode.EncoderKey> ENCODER_KEYS
private String disclaimer
public Set<org.n52.sos.encode.EncoderKey> getEncoderKeyType()
getEncoderKeyType in interface org.n52.sos.encode.Encoder<org.apache.xmlbeans.XmlObject,Object>public Map<org.n52.sos.service.ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
getSupportedTypes in interface org.n52.sos.encode.Encoder<org.apache.xmlbeans.XmlObject,Object>public Set<String> getConformanceClasses()
getConformanceClasses in interface org.n52.sos.service.ConformanceClasspublic void addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
addNamespacePrefixToMap in interface org.n52.sos.encode.Encoder<org.apache.xmlbeans.XmlObject,Object>public boolean isObservationAndMeasurmentV20Type()
isObservationAndMeasurmentV20Type in interface org.n52.sos.encode.ObservationEncoder<org.apache.xmlbeans.XmlObject,Object>public Set<String> getSupportedResponseFormats(String service, String version)
getSupportedResponseFormats in interface org.n52.sos.encode.ObservationEncoder<org.apache.xmlbeans.XmlObject,Object>public boolean shouldObservationsWithSameXBeMerged()
shouldObservationsWithSameXBeMerged in interface org.n52.sos.encode.ObservationEncoder<org.apache.xmlbeans.XmlObject,Object>public org.n52.sos.util.http.MediaType getContentType()
getContentType in interface org.n52.sos.encode.Encoder<org.apache.xmlbeans.XmlObject,Object>public Set<org.n52.sos.w3c.SchemaLocation> getSchemaLocations()
getSchemaLocations in interface org.n52.sos.encode.Encoder<org.apache.xmlbeans.XmlObject,Object>public org.apache.xmlbeans.XmlObject encode(Object element) throws org.n52.sos.ogc.ows.OwsExceptionReport
encode in interface org.n52.sos.encode.Encoder<org.apache.xmlbeans.XmlObject,Object>org.n52.sos.ogc.ows.OwsExceptionReportpublic org.apache.xmlbeans.XmlObject encode(Object element, Map<org.n52.sos.ogc.sos.SosConstants.HelperValues,String> additionalValues) throws org.n52.sos.ogc.ows.OwsExceptionReport
encode in interface org.n52.sos.encode.Encoder<org.apache.xmlbeans.XmlObject,Object>org.n52.sos.ogc.ows.OwsExceptionReport@Setting(value="ioos.disclaimer") public void setDisclaimer(String disclaimer)
protected org.apache.xmlbeans.XmlObject createObservationCollection(List<org.n52.sos.ogc.om.OmObservation> sosObservationCollection, String resultModel) throws org.n52.sos.ogc.ows.OwsExceptionReport
org.n52.sos.ogc.ows.OwsExceptionReportprotected org.apache.xmlbeans.XmlObject encodeIoosObservation(IoosSosObservation ioosSosObs) throws org.n52.sos.ogc.ows.OwsExceptionReport
org.n52.sos.ogc.ows.OwsExceptionReportpublic boolean supportsResultStreamingForMergedValues()
supportsResultStreamingForMergedValues in interface org.n52.sos.encode.ObservationEncoder<org.apache.xmlbeans.XmlObject,Object>Copyright © 2012-2015 52north.org. All Rights Reserved.