public class SamplingEncoderv100 extends AbstractXmlEncoder<AbstractFeature>
Modifier and Type | Field and Description |
---|---|
private static Set<String> |
CONFORMANCE_CLASSES |
private static Set<EncoderKey> |
ENCODER_KEYS |
private static org.slf4j.Logger |
LOGGER |
private static Map<ServiceConstants.SupportedTypeKey,Set<String>> |
SUPPORTED_TYPES |
Constructor and Description |
---|
SamplingEncoderv100() |
Modifier and Type | Method and Description |
---|---|
void |
addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
|
private void |
addValuesToFeature(net.opengis.sampling.x10.SamplingFeatureType xbSamplingFeature,
SamplingFeature sampFeat) |
private org.apache.xmlbeans.XmlObject |
createFeature(AbstractFeature absFeature) |
private org.apache.xmlbeans.XmlObject |
createFeatureCollection(FeatureCollection sosFeatureCollection) |
org.apache.xmlbeans.XmlObject |
encode(AbstractFeature abstractFeature,
Map<SosConstants.HelperValues,String> additionalValues)
Encodes the specified object with the specified SosConstants.HelperValues
.
|
Set<String> |
getConformanceClasses() |
private org.apache.xmlbeans.XmlObject |
getEncodedGeometry(com.vividsolutions.jts.geom.Geometry geometry,
String gmlId) |
Set<EncoderKey> |
getEncoderKeyType() |
Set<SchemaLocation> |
getSchemaLocations() |
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
|
encode, getContentType
private static final org.slf4j.Logger LOGGER
private static final Set<EncoderKey> ENCODER_KEYS
private static final Map<ServiceConstants.SupportedTypeKey,Set<String>> SUPPORTED_TYPES
public Set<EncoderKey> getEncoderKeyType()
EncoderKey
)public Map<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Encoder
getSupportedTypes
in interface Encoder<org.apache.xmlbeans.XmlObject,AbstractFeature>
getSupportedTypes
in class AbstractXmlEncoder<AbstractFeature>
public Set<String> getConformanceClasses()
getConformanceClasses
in interface ConformanceClass
getConformanceClasses
in class AbstractXmlEncoder<AbstractFeature>
public void addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
Encoder
addNamespacePrefixToMap
in interface Encoder<org.apache.xmlbeans.XmlObject,AbstractFeature>
addNamespacePrefixToMap
in class AbstractXmlEncoder<AbstractFeature>
public Set<SchemaLocation> getSchemaLocations()
getSchemaLocations
in interface Encoder<org.apache.xmlbeans.XmlObject,AbstractFeature>
getSchemaLocations
in class AbstractXmlEncoder<AbstractFeature>
public org.apache.xmlbeans.XmlObject encode(AbstractFeature abstractFeature, Map<SosConstants.HelperValues,String> additionalValues) throws OwsExceptionReport
Encoder
abstractFeature
- the object to encodeadditionalValues
- the helper valuesOwsExceptionReport
- if an error occursUnsupportedEncoderInputException
- if the supplied object (or any of it's contents) is not
supported by this encoderprivate org.apache.xmlbeans.XmlObject createFeature(AbstractFeature absFeature) throws OwsExceptionReport
OwsExceptionReport
private org.apache.xmlbeans.XmlObject getEncodedGeometry(com.vividsolutions.jts.geom.Geometry geometry, String gmlId) throws UnsupportedEncoderInputException, OwsExceptionReport
private void addValuesToFeature(net.opengis.sampling.x10.SamplingFeatureType xbSamplingFeature, SamplingFeature sampFeat) throws OwsExceptionReport
OwsExceptionReport
private org.apache.xmlbeans.XmlObject createFeatureCollection(FeatureCollection sosFeatureCollection) throws OwsExceptionReport
OwsExceptionReport
Copyright © 2012-2015 52north.org. All Rights Reserved.