Package org.n52.svalbard.encode
Class SweCommonEncoderv101
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.SweCommonEncoderv101
- All Implemented Interfaces:
Component<EncoderKey>,Keyed<EncoderKey>,Encoder<org.apache.xmlbeans.XmlObject,,Object> SchemaAwareEncoder<org.apache.xmlbeans.XmlObject,Object>
Encoder class for SWE Common 1.0.1
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNamespacePrefixToMap(Map<String, String> nameSpacePrefixMap) protected net.opengis.swe.x101.QuantityDocument.QuantitycreateQuantity(SweQuantity component) Adds values to SWE quantityprotected net.opengis.swe.x101.QuantityRangeDocument.QuantityRangecreateQuantityRange(SweQuantityRange component) org.apache.xmlbeans.XmlObjectencode(Object element, EncodingContext context) getKeys()Methods inherited from class org.n52.svalbard.encode.AbstractXmlEncoder
encode, encodeObjectToXml, encodeObjectToXml, encodeObjectToXmlDocument, encodeObjectToXmlDocument, encodeObjectToXmlPropertyType, encodeObjectToXmlPropertyType, encodeObjectToXmlText, encodeObjectToXmlText, getAndCheck, getContentType, 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.encode.Encoder
getSupportedTypes
-
Constructor Details
-
SweCommonEncoderv101
public SweCommonEncoderv101()
-
-
Method Details
-
getKeys
-
addNamespacePrefixToMap
-
getSchemaLocations
-
encode
public org.apache.xmlbeans.XmlObject encode(Object element, EncodingContext context) throws EncodingException - Throws:
EncodingException
-
createQuantity
Adds values to SWE quantity- Parameters:
component- SOS internal representation- Returns:
- the quantity
-
createQuantityRange
protected net.opengis.swe.x101.QuantityRangeDocument.QuantityRange createQuantityRange(SweQuantityRange component)
-