Modifier and Type | Field and Description |
---|---|
private static Set<DecoderKey> |
DECODER_KEYS |
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
SweCommonDecoderV101() |
Modifier and Type | Method and Description |
---|---|
private SweConstants.SweCoordinateName |
checkCoordinateName(String name)
Deprecated.
|
private CodedException |
createParsingException(Exception e) |
Object |
decode(Object element)
Decode a object to another representation.
|
Set<String> |
getConformanceClasses() |
Set<DecoderKey> |
getDecoderKeyTypes() |
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
Get the ServiceConstants.SupportedTypeKey in the case of having only generic
java types, e.g.
|
private SweAbstractDataComponent |
parseAbstractDataComponentType(net.opengis.swe.x101.AbstractDataComponentType abstractDataComponent) |
private List<SweField> |
parseAnyScalarPropertyArray(net.opengis.swe.x101.AnyScalarPropertyType[] fieldArray) |
private SweAbstractSimpleType<Boolean> |
parseBoolean(net.opengis.swe.x101.BooleanDocument.Boolean xbBoolean) |
private SweAbstractSimpleType<String> |
parseCategory(net.opengis.swe.x101.CategoryDocument.Category category) |
private List<SweCoordinate<?>> |
parseCoordinates(net.opengis.swe.x101.VectorType.Coordinate[] coordinateArray) |
private SweAbstractSimpleType<Integer> |
parseCount(net.opengis.swe.x101.CountDocument.Count xbCount) |
private SweAbstractSimpleType<RangeValue<Integer>> |
parseCountRange(net.opengis.swe.x101.CountRangeDocument.CountRange countRange) |
private List<SweField> |
parseDataComponentPropertyArray(net.opengis.swe.x101.DataComponentPropertyType[] fieldArray) |
private SweDataRecord |
parseDataRecord(net.opengis.swe.x101.DataRecordType dataRecord) |
private SweDataRecord |
parseDataRecordProperty(net.opengis.swe.x101.DataRecordPropertyType dataRecordProperty) |
private SweCount |
parseElementCount(net.opengis.swe.x101.AbstractDataArrayType.ElementCount elementCount) |
private SweAbstractEncoding |
parseEncoding(net.opengis.swe.x101.BlockEncodingPropertyType abstractEncodingType) |
private SweAbstractDataComponent |
parseEnvelope(net.opengis.swe.x101.EnvelopeType envelopeType) |
private SweAbstractSimpleType<String> |
parseObservableProperty(net.opengis.swe.x101.ObservablePropertyDocument.ObservableProperty observableProperty) |
private SmlPosition |
parsePosition(net.opengis.swe.x101.PositionType position) |
private Collection<SweQuality> |
parseQuality(net.opengis.swe.x101.QualityPropertyType... qualityArray) |
private SweAbstractSimpleType<Double> |
parseQuantity(net.opengis.swe.x101.QuantityDocument.Quantity xbQuantity) |
private SweAbstractSimpleType<RangeValue<Double>> |
parseQuantityRange(net.opengis.swe.x101.QuantityRangeDocument.QuantityRange xbQuantityRange) |
private SweSimpleDataRecord |
parseSimpleDataRecord(net.opengis.swe.x101.SimpleDataRecordType simpleDataRecord) |
private SweDataArray |
parseSweDataArrayType(net.opengis.swe.x101.DataArrayType xbDataArray) |
private SweAbstractSimpleType<?> |
parseText(net.opengis.swe.x101.TextDocument.Text xbText) |
private SweTextEncoding |
parseTextEncoding(net.opengis.swe.x101.TextBlockDocument.TextBlock textEncoding) |
private SweAbstractSimpleType<org.joda.time.DateTime> |
parseTime(net.opengis.swe.x101.TimeDocument.Time time) |
private SweAbstractSimpleType<RangeValue<org.joda.time.DateTime>> |
parseTimeRange(net.opengis.swe.x101.TimeRangeDocument.TimeRange timeRange) |
private SweVector |
parseVector(net.opengis.swe.x101.VectorType vectorType) |
private SweVector |
parseVectorProperty(net.opengis.swe.x101.VectorPropertyType vectorPropertyType) |
private static final org.slf4j.Logger LOGGER
private static final Set<DecoderKey> DECODER_KEYS
public Set<DecoderKey> getDecoderKeyTypes()
getDecoderKeyTypes
in interface Decoder<Object,Object>
DecoderKey
) is able to decodepublic Set<String> getConformanceClasses()
getConformanceClasses
in interface ConformanceClass
public Map<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Decoder
getSupportedTypes
in interface Decoder<Object,Object>
public Object decode(Object element) throws OwsExceptionReport
Decoder
decode
in interface Decoder<Object,Object>
element
- the object to encodeOwsExceptionReport
- if an error occursUnsupportedDecoderInputException
- if the supplied type (or any of it's contents) is not
supported by this decoderprivate SweAbstractDataComponent parseAbstractDataComponentType(net.opengis.swe.x101.AbstractDataComponentType abstractDataComponent) throws OwsExceptionReport
OwsExceptionReport
private SweDataRecord parseDataRecordProperty(net.opengis.swe.x101.DataRecordPropertyType dataRecordProperty) throws OwsExceptionReport
OwsExceptionReport
private SweDataRecord parseDataRecord(net.opengis.swe.x101.DataRecordType dataRecord) throws OwsExceptionReport
OwsExceptionReport
private SweAbstractDataComponent parseEnvelope(net.opengis.swe.x101.EnvelopeType envelopeType) throws OwsExceptionReport
OwsExceptionReport
private SweVector parseVectorProperty(net.opengis.swe.x101.VectorPropertyType vectorPropertyType) throws OwsExceptionReport
OwsExceptionReport
private SweVector parseVector(net.opengis.swe.x101.VectorType vectorType) throws OwsExceptionReport
OwsExceptionReport
private SweSimpleDataRecord parseSimpleDataRecord(net.opengis.swe.x101.SimpleDataRecordType simpleDataRecord) throws OwsExceptionReport
OwsExceptionReport
private SweDataArray parseSweDataArrayType(net.opengis.swe.x101.DataArrayType xbDataArray) throws OwsExceptionReport
OwsExceptionReport
private List<SweField> parseDataComponentPropertyArray(net.opengis.swe.x101.DataComponentPropertyType[] fieldArray) throws OwsExceptionReport
OwsExceptionReport
private SweAbstractSimpleType<Boolean> parseBoolean(net.opengis.swe.x101.BooleanDocument.Boolean xbBoolean) throws OwsExceptionReport
OwsExceptionReport
private SweAbstractSimpleType<String> parseCategory(net.opengis.swe.x101.CategoryDocument.Category category) throws OwsExceptionReport
OwsExceptionReport
private SweAbstractSimpleType<Integer> parseCount(net.opengis.swe.x101.CountDocument.Count xbCount) throws OwsExceptionReport
OwsExceptionReport
private SweAbstractSimpleType<RangeValue<Integer>> parseCountRange(net.opengis.swe.x101.CountRangeDocument.CountRange countRange) throws OwsExceptionReport
OwsExceptionReport
private SweAbstractSimpleType<String> parseObservableProperty(net.opengis.swe.x101.ObservablePropertyDocument.ObservableProperty observableProperty)
private SweAbstractSimpleType<Double> parseQuantity(net.opengis.swe.x101.QuantityDocument.Quantity xbQuantity) throws OwsExceptionReport
OwsExceptionReport
private SweAbstractSimpleType<RangeValue<Double>> parseQuantityRange(net.opengis.swe.x101.QuantityRangeDocument.QuantityRange xbQuantityRange) throws OwsExceptionReport
OwsExceptionReport
private CodedException createParsingException(Exception e)
private SweAbstractSimpleType<?> parseText(net.opengis.swe.x101.TextDocument.Text xbText)
private SweAbstractSimpleType<org.joda.time.DateTime> parseTime(net.opengis.swe.x101.TimeDocument.Time time) throws OwsExceptionReport
OwsExceptionReport
private SweAbstractSimpleType<RangeValue<org.joda.time.DateTime>> parseTimeRange(net.opengis.swe.x101.TimeRangeDocument.TimeRange timeRange) throws OwsExceptionReport
OwsExceptionReport
private Collection<SweQuality> parseQuality(net.opengis.swe.x101.QualityPropertyType... qualityArray) throws OwsExceptionReport
OwsExceptionReport
private SmlPosition parsePosition(net.opengis.swe.x101.PositionType position) throws OwsExceptionReport
OwsExceptionReport
private List<SweCoordinate<?>> parseCoordinates(net.opengis.swe.x101.VectorType.Coordinate[] coordinateArray) throws OwsExceptionReport
OwsExceptionReport
@Deprecated private SweConstants.SweCoordinateName checkCoordinateName(String name) throws OwsExceptionReport
OwsExceptionReport
private List<SweField> parseAnyScalarPropertyArray(net.opengis.swe.x101.AnyScalarPropertyType[] fieldArray) throws OwsExceptionReport
OwsExceptionReport
private SweCount parseElementCount(net.opengis.swe.x101.AbstractDataArrayType.ElementCount elementCount) throws OwsExceptionReport
OwsExceptionReport
private SweAbstractEncoding parseEncoding(net.opengis.swe.x101.BlockEncodingPropertyType abstractEncodingType) throws OwsExceptionReport
OwsExceptionReport
private SweTextEncoding parseTextEncoding(net.opengis.swe.x101.TextBlockDocument.TextBlock textEncoding)
Copyright © 2012-2015 52north.org. All Rights Reserved.