Package org.n52.svalbard.encode
Class GmlEncoderv321
- java.lang.Object
-
- org.n52.svalbard.encode.AbstractDelegatingEncoder<T,S>
-
- org.n52.svalbard.encode.AbstractXmlEncoder<T,S>
-
- org.n52.svalbard.encode.AbstractGmlEncoderv321<org.apache.xmlbeans.XmlObject,Object>
-
- org.n52.svalbard.encode.GmlEncoderv321
-
- All Implemented Interfaces:
Component<EncoderKey>,Keyed<EncoderKey>,Encoder<org.apache.xmlbeans.XmlObject,Object>,SchemaAwareEncoder<org.apache.xmlbeans.XmlObject,Object>
@Configurable public class GmlEncoderv321 extends AbstractGmlEncoderv321<org.apache.xmlbeans.XmlObject,Object>
- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description GmlEncoderv321()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)protected org.apache.xmlbeans.XmlObjectcreateFeature(net.opengis.gml.x32.FeaturePropertyType featurePropertyType, AbstractFeature abstractFeature, EncodingContext ctx)protected net.opengis.gml.x32.MeasureTypecreateMeasureType(QuantityValue quantityValue)org.apache.xmlbeans.XmlObjectencode(Object element, EncodingContext ctx)Set<EncoderKey>getKeys()Set<SchemaLocation>getSchemaLocations()protected StringgetSrsName(int srid)protected StringgetSrsName(org.locationtech.jts.geom.Geometry geom)voidsetSrsNamePrefixURL(String prefix)voidsetSrsNamePrefixURN(String prefix)-
Methods inherited from class org.n52.svalbard.encode.AbstractGmlEncoderv321
addDescription, addId, addIdentifier, addName, createFeaturePropertyType, createFeaturePropertyTypeFrom, removeExitingNames
-
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, 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.encode.Encoder
getSupportedTypes
-
-
-
-
Method Detail
-
setSrsNamePrefixURL
@Setting(value="coding.srsNamePrefixURL", required=false) public void setSrsNamePrefixURL(String prefix)
-
setSrsNamePrefixURN
@Setting(value="coding.srsNamePrefixURN", required=false) public void setSrsNamePrefixURN(String prefix)
-
getKeys
public Set<EncoderKey> getKeys()
-
addNamespacePrefixToMap
public void addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
-
getSchemaLocations
public Set<SchemaLocation> getSchemaLocations()
-
encode
public org.apache.xmlbeans.XmlObject encode(Object element, EncodingContext ctx) throws EncodingException
- Throws:
EncodingException
-
createFeature
protected org.apache.xmlbeans.XmlObject createFeature(net.opengis.gml.x32.FeaturePropertyType featurePropertyType, AbstractFeature abstractFeature, EncodingContext ctx) throws EncodingException- Specified by:
createFeaturein classAbstractGmlEncoderv321<org.apache.xmlbeans.XmlObject,Object>- Throws:
EncodingException
-
createMeasureType
protected net.opengis.gml.x32.MeasureType createMeasureType(QuantityValue quantityValue) throws EncodingException
- Throws:
EncodingException
-
getSrsName
protected String getSrsName(org.locationtech.jts.geom.Geometry geom)
-
getSrsName
protected String getSrsName(int srid)
-
-