Package org.n52.svalbard.encode
Class SensorMLEncoderv101
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.AbstractSensorMLEncoder
org.n52.svalbard.encode.SensorMLEncoderv101
- All Implemented Interfaces:
Component<EncoderKey>,Keyed<EncoderKey>,ConformanceClass,ConformanceClassEncoder<org.apache.xmlbeans.XmlObject,,Object> Encoder<org.apache.xmlbeans.XmlObject,,Object> ProcedureEncoder<org.apache.xmlbeans.XmlObject,,Object> SchemaAwareEncoder<org.apache.xmlbeans.XmlObject,,Object> ProcedureCoder
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNamespacePrefixToMap(Map<String, String> nameSpacePrefixMap) protected net.opengis.sensorML.x101.DocumentationDocument.Documentation[]createDocumentationArray(List<AbstractSmlDocumentation> sosDocumentation) Create XML Documentation array from SOS documentationsprotected net.opengis.sensorML.x101.IdentificationDocument.Identification[]createIdentification(List<SmlIdentifier> identifications) Creates the valueentification section of the SensorML description.protected org.apache.xmlbeans.XmlObjectcreateSensorDescriptionFromString(AbstractSensorML sensorDesc) protected net.opengis.sensorML.x101.SensorMLDocumentcreateSensorMLDescription(SensorML smlSensorDesc) org.apache.xmlbeans.XmlObjectencode(Object response, EncodingContext additionalValues) getKeys()getSupportedProcedureDescriptionFormats(String service, String version) Methods inherited from class org.n52.svalbard.encode.AbstractSensorMLEncoder
getValidOutputName, isIdenticalMethods 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
getConformanceClasses
-
Constructor Details
-
SensorMLEncoderv101
public SensorMLEncoderv101()
-
-
Method Details
-
getKeys
-
getSupportedTypes
-
addNamespacePrefixToMap
-
getContentType
- Specified by:
getContentTypein interfaceEncoder<org.apache.xmlbeans.XmlObject,Object> - Overrides:
getContentTypein classAbstractXmlEncoder<org.apache.xmlbeans.XmlObject,Object>
-
getSchemaLocations
-
getSupportedProcedureDescriptionFormats
-
encode
public org.apache.xmlbeans.XmlObject encode(Object response, EncodingContext additionalValues) throws EncodingException - Throws:
EncodingException
-
createSensorDescriptionFromString
protected org.apache.xmlbeans.XmlObject createSensorDescriptionFromString(AbstractSensorML sensorDesc) throws EncodingException - Throws:
EncodingException
-
createSensorMLDescription
protected net.opengis.sensorML.x101.SensorMLDocument createSensorMLDescription(SensorML smlSensorDesc) throws EncodingException - Throws:
EncodingException
-
createIdentification
protected net.opengis.sensorML.x101.IdentificationDocument.Identification[] createIdentification(List<SmlIdentifier> identifications) Creates the valueentification section of the SensorML description.- Parameters:
identifications- SOS valueentifications- Returns:
- XML Identification array
-
createDocumentationArray
protected net.opengis.sensorML.x101.DocumentationDocument.Documentation[] createDocumentationArray(List<AbstractSmlDocumentation> sosDocumentation) Create XML Documentation array from SOS documentations- Parameters:
sosDocumentation- SOS documentation list- Returns:
- XML Documentation array
-