Package org.n52.svalbard.encode
Class AbstractOmInspireEncoder
java.lang.Object
org.n52.svalbard.encode.AbstractDelegatingEncoder<org.apache.xmlbeans.XmlObject,Object>
org.n52.svalbard.encode.AbstractXmlEncoder<org.apache.xmlbeans.XmlObject,Object>
org.n52.svalbard.encode.AbstractOmEncoderv20
org.n52.svalbard.encode.AbstractWmlEncoderv20
org.n52.svalbard.encode.AbstractOmInspireEncoder
- All Implemented Interfaces:
Component<EncoderKey>,Keyed<EncoderKey>,ConformanceClass,ConformanceClassEncoder<org.apache.xmlbeans.XmlObject,,Object> Encoder<org.apache.xmlbeans.XmlObject,,Object> ObservationEncoder<org.apache.xmlbeans.XmlObject,,Object> ProcedureEncoder<org.apache.xmlbeans.XmlObject,,Object> SchemaAwareEncoder<org.apache.xmlbeans.XmlObject,,Object> StreamingEncoder<org.apache.xmlbeans.XmlObject,,Object> WmlTmlHelper,ProcedureCoder
- Direct Known Subclasses:
MultiPointObservationTypeEncoder,PointObservationTypeEncoder,PointTimeSeriesObservationTypeEncoder,ProfileObservationTypeEncoder,TrajectoryObservationTypeEncoder
Abstract
Encoder implementation for INSPIRES OM- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNamespacePrefixToMap(Map<String, String> nameSpacePrefixMap) protected voidaddObservationType(net.opengis.om.x20.OMObservationType xbObservation, String observationType) Method to add the observation type to the om:Observation.protected booleanIndicator whether the procedure is to be encodedGet the default encoding Namespace for FeatureOfInterestprotected StringGet the default encoding Namespace for Proceduresprotected abstract StringgetSupportedResponseFormats(String service, String version) booleanbooleanbooleanMethods inherited from class org.n52.svalbard.encode.AbstractWmlEncoderv20
addAddtitionalInformation, createMonitoringPoint, createObservationProcess, createWmlGetObservationResponse, encode, getContentType, getDefaultEncoderKeys, getSupportedProcedureDescriptionFormats, getTimeStringMethods inherited from class org.n52.svalbard.encode.AbstractOmEncoderv20
createNamedValue, createOmObservationType, createResult, encode, encodeGML, encodeGML, encodeGWML, encodeGWML, encodeOmObservation, encodeResult, encodeSweCommon, encodeSweCommon, encodeXLINK, encodeXLINK, setObservationTypeMethods inherited from class org.n52.svalbard.encode.AbstractXmlEncoder
encode, encodeObjectToXml, encodeObjectToXml, encodeObjectToXmlDocument, encodeObjectToXmlDocument, encodeObjectToXmlPropertyType, encodeObjectToXmlPropertyType, encodeObjectToXmlText, encodeObjectToXmlText, getAndCheck, getDocumentEncoder, getDocumentEncoder, getDocumentEncoderKey, getDocumentEncoderKey, getEncoder, getEncoder, getEncoderKey, getEncoderKey, getPropertyTypeEncoder, getPropertyTypeEncoder, getPropertyTypeEncoderKey, getPropertyTypeEncoderKey, getXmlOptions, setXmlOptions, substituteMethods inherited from class org.n52.svalbard.encode.AbstractDelegatingEncoder
getEncoder, getEncoderRepository, setEncoderRepositoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.n52.svalbard.ConformanceClass
getConformanceClassesMethods inherited from interface org.n52.svalbard.encode.ObservationEncoder
getProcedureEncodingNamspace, getSupportedResponseFormatsMethods inherited from interface org.n52.svalbard.encode.SchemaAwareEncoder
getSchemaLocationsMethods inherited from interface org.n52.svalbard.encode.StreamingEncoder
encodeMethods inherited from interface org.n52.svalbard.encode.WmlTmlHelper
checkFields, checkSweDataArray
-
Constructor Details
-
AbstractOmInspireEncoder
public AbstractOmInspireEncoder()
-
-
Method Details
-
isObservationAndMeasurmentV20Type
public boolean isObservationAndMeasurmentV20Type()- Specified by:
isObservationAndMeasurmentV20Typein interfaceObservationEncoder<org.apache.xmlbeans.XmlObject,Object> - Overrides:
isObservationAndMeasurmentV20Typein classAbstractWmlEncoderv20
-
shouldObservationsWithSameXBeMerged
public boolean shouldObservationsWithSameXBeMerged()- Specified by:
shouldObservationsWithSameXBeMergedin interfaceObservationEncoder<org.apache.xmlbeans.XmlObject,Object> - Overrides:
shouldObservationsWithSameXBeMergedin classAbstractWmlEncoderv20
-
supportsResultStreamingForMergedValues
public boolean supportsResultStreamingForMergedValues() -
getSupportedResponseFormats
-
getDefaultFeatureEncodingNamespace
Description copied from class:AbstractOmEncoderv20Get the default encoding Namespace for FeatureOfInterest- Overrides:
getDefaultFeatureEncodingNamespacein classAbstractWmlEncoderv20- Returns:
- Encoding namespace
-
getDefaultProcedureEncodingNamspace
Description copied from class:AbstractOmEncoderv20Get the default encoding Namespace for Procedures- Overrides:
getDefaultProcedureEncodingNamspacein classAbstractWmlEncoderv20- Returns:
- Encoding namespace
-
convertEncodedProcedure
protected boolean convertEncodedProcedure()Description copied from class:AbstractOmEncoderv20Indicator whether the procedure is to be encoded- Overrides:
convertEncodedProcedurein classAbstractWmlEncoderv20- Returns:
- Indicator
-
addObservationType
protected void addObservationType(net.opengis.om.x20.OMObservationType xbObservation, String observationType) Description copied from class:AbstractOmEncoderv20Method to add the observation type to the om:Observation. Subclasses should have mappings to set the correct type, e.g. O&M .../Measurement == .../MeasurementTimeseriesTVPObservation in WaterML 2.0- Specified by:
addObservationTypein classAbstractOmEncoderv20- Parameters:
xbObservation- XmlBeans object of observationobservationType- Observation type
-
addNamespacePrefixToMap
- Specified by:
addNamespacePrefixToMapin interfaceSchemaAwareEncoder<org.apache.xmlbeans.XmlObject,Object> - Overrides:
addNamespacePrefixToMapin classAbstractWmlEncoderv20
-
getSupportedResponseFormatObservationTypes
-
getSupportedTypes
-
getObservationType
-