public class SamplingEncoderv20 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 |
---|
SamplingEncoderv20() |
Modifier and Type | Method and Description |
---|---|
private void |
addFeatureTypeForGeometry(net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType xbSampFeature,
com.vividsolutions.jts.geom.Geometry geometry) |
private void |
addNameDescription(net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType xbSamplingFeature,
SamplingFeature samplingFeature) |
void |
addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
|
private void |
addParameter(net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType xbSampFeature,
SamplingFeature sampFeat) |
private org.apache.xmlbeans.XmlObject |
createFeature(AbstractFeature absFeature) |
org.apache.xmlbeans.XmlObject |
encode(AbstractFeature abstractFeature,
Map<SosConstants.HelperValues,String> additionalValues)
Encodes the specified object with the specified SosConstants.HelperValues
.
|
private void |
encodeShape(net.opengis.samplingSpatial.x20.ShapeType xbShape,
SamplingFeature sampFeat) |
Set<String> |
getConformanceClasses() |
Set<EncoderKey> |
getEncoderKeyType() |
Set<SchemaLocation> |
getSchemaLocations() |
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
|
private void |
removeExitingNames(net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType xbSamplingFeature) |
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 void addFeatureTypeForGeometry(net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType xbSampFeature, com.vividsolutions.jts.geom.Geometry geometry)
private void encodeShape(net.opengis.samplingSpatial.x20.ShapeType xbShape, SamplingFeature sampFeat) throws OwsExceptionReport
OwsExceptionReport
private void addParameter(net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType xbSampFeature, SamplingFeature sampFeat) throws OwsExceptionReport
OwsExceptionReport
private void addNameDescription(net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType xbSamplingFeature, SamplingFeature samplingFeature) throws OwsExceptionReport
OwsExceptionReport
private void removeExitingNames(net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType xbSamplingFeature)
Copyright © 2012-2015 52north.org. All Rights Reserved.