public abstract class AObservationsEncoder extends ResourceEncoder
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
bindingConstants
Constructor and Description |
---|
AObservationsEncoder() |
Modifier and Type | Method and Description |
---|---|
private void |
addDeleteLink(String observationId,
ObservationType xb_restObservation) |
private void |
addFeatureLink(net.opengis.om.x20.OMObservationType xb_observation,
ObservationType xb_restObservation,
Map<String,String> inDocumentReferenceToFeatureId) |
private void |
addSelfLink(String observationId,
ObservationType xb_restObservation) |
private void |
addSensorLink(net.opengis.om.x20.OMObservationType xb_observation,
ObservationType xb_restObservation) |
protected ObservationDocument |
createRestObservationDocumentFrom(net.opengis.om.x20.OMObservationType xb_OMObservation) |
protected ObservationType |
createRestObservationFromOMObservation(ObservationType xb_restObservation,
net.opengis.om.x20.OMObservationType xb_observation,
Map<String,String> inDocumentReferenceToFeatureId) |
private String |
getFeatureId(net.opengis.om.x20.OMObservationType xb_observation,
Map<String,String> inDocumentReferenceToFeatureId) |
private String |
getObservationId(net.opengis.om.x20.OMObservationType xb_observation) |
private String |
getSensorId(net.opengis.om.x20.OMObservationType xb_observation) |
private boolean |
isFeatureHrefSet(net.opengis.om.x20.OMObservationType xb_observation) |
private boolean |
isFeatureHrefSetAndInDocumentReference(net.opengis.om.x20.OMObservationType xb_observation) |
private boolean |
isFeatureHrefSetAndNotAnUrlOrInDocumentReference(net.opengis.om.x20.OMObservationType xb_observation) |
private boolean |
isProcedureHrefSet(net.opengis.om.x20.OMObservationType xb_observation) |
addLocationHeader, addLocationHeader, createContentlessResponse, createHrefForResourceAndIdentifier, createHrefForResourceType, createHrefForResourceTypeAndQueryString, createNoContentResponse, createRelationWithNamespace, createResponseNotSupportedException, createServiceResponseFromXBDocument, createServiceResponseFromXBDocument, encodeRestResponse, getDefaultXMLOptions, setLinkValues, setOfferingLinks, setValuesOfLinkToDynamicResource, setValuesOfLinkToGlobalResource, setValuesOfLinkToUniqueResource
addNamespacePrefixToMap, encode, encode, getConformanceClasses, getContentType, getEncoderKeyType, getSchemaLocations, getSupportedTypes, isFeatureResponse
protected ObservationDocument createRestObservationDocumentFrom(net.opengis.om.x20.OMObservationType xb_OMObservation) throws OwsExceptionReport
OwsExceptionReport
protected ObservationType createRestObservationFromOMObservation(ObservationType xb_restObservation, net.opengis.om.x20.OMObservationType xb_observation, Map<String,String> inDocumentReferenceToFeatureId) throws OwsExceptionReport
OwsExceptionReport
private void addSensorLink(net.opengis.om.x20.OMObservationType xb_observation, ObservationType xb_restObservation)
private String getSensorId(net.opengis.om.x20.OMObservationType xb_observation)
private void addDeleteLink(String observationId, ObservationType xb_restObservation)
private void addSelfLink(String observationId, ObservationType xb_restObservation)
private String getObservationId(net.opengis.om.x20.OMObservationType xb_observation)
private void addFeatureLink(net.opengis.om.x20.OMObservationType xb_observation, ObservationType xb_restObservation, Map<String,String> inDocumentReferenceToFeatureId) throws OwsExceptionReport
OwsExceptionReport
private String getFeatureId(net.opengis.om.x20.OMObservationType xb_observation, Map<String,String> inDocumentReferenceToFeatureId) throws OwsExceptionReport
OwsExceptionReport
private boolean isFeatureHrefSetAndNotAnUrlOrInDocumentReference(net.opengis.om.x20.OMObservationType xb_observation)
private boolean isFeatureHrefSetAndInDocumentReference(net.opengis.om.x20.OMObservationType xb_observation)
private boolean isFeatureHrefSet(net.opengis.om.x20.OMObservationType xb_observation)
private boolean isProcedureHrefSet(net.opengis.om.x20.OMObservationType xb_observation)
Copyright © 2012-2015 52north.org. All Rights Reserved.