Package org.n52.svalbard.encode
Class SensorMLEncoderv20
- java.lang.Object
-
- org.n52.svalbard.encode.AbstractDelegatingEncoder<T,S>
-
- org.n52.svalbard.encode.AbstractXmlEncoder<org.apache.xmlbeans.XmlObject,Object>
-
- org.n52.svalbard.encode.AbstractSensorMLEncoder
-
- org.n52.svalbard.encode.SensorMLEncoderv20
-
- 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
public class SensorMLEncoderv20 extends AbstractSensorMLEncoder
AbstractSensorMLEncoderclass to encode OGC SensorML 2.0- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description SensorMLEncoderv20()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)protected net.opengis.sensorml.x20.DocumentListPropertyType[]createDocumentationArray(List<AbstractSmlDocumentation> sosDocumentation)Create XML Documentation array from SOS documentationsprotected net.opengis.sensorml.x20.IdentifierListPropertyType[]createIdentification(List<SmlIdentifier> identifications)Creates the valueentification section of the SensorML description.org.apache.xmlbeans.XmlObjectencode(Object objectToEncode, EncodingContext additionalValues)MediaTypegetContentType()Set<EncoderKey>getKeys()Set<SchemaLocation>getSchemaLocations()Set<String>getSupportedProcedureDescriptionFormats(String service, String version)Set<SupportedType>getSupportedTypes()-
Methods inherited from class org.n52.svalbard.encode.AbstractSensorMLEncoder
getValidOutputName, isIdentical
-
Methods 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, substitute
-
Methods inherited from class org.n52.svalbard.encode.AbstractDelegatingEncoder
getEncoder, getEncoderRepository, setEncoderRepository
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.svalbard.ConformanceClass
getConformanceClasses
-
-
-
-
Method Detail
-
getKeys
public Set<EncoderKey> getKeys()
-
getSupportedTypes
public Set<SupportedType> getSupportedTypes()
-
addNamespacePrefixToMap
public void addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
-
getContentType
public MediaType getContentType()
- Specified by:
getContentTypein interfaceEncoder<org.apache.xmlbeans.XmlObject,Object>- Overrides:
getContentTypein classAbstractXmlEncoder<org.apache.xmlbeans.XmlObject,Object>
-
getSchemaLocations
public Set<SchemaLocation> getSchemaLocations()
-
getSupportedProcedureDescriptionFormats
public Set<String> getSupportedProcedureDescriptionFormats(String service, String version)
-
encode
public org.apache.xmlbeans.XmlObject encode(Object objectToEncode, EncodingContext additionalValues) throws EncodingException
- Throws:
EncodingException
-
createIdentification
protected net.opengis.sensorml.x20.IdentifierListPropertyType[] 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.x20.DocumentListPropertyType[] createDocumentationArray(List<AbstractSmlDocumentation> sosDocumentation)
Create XML Documentation array from SOS documentations- Parameters:
sosDocumentation- SOS documentation list- Returns:
- XML Documentation array
-
-