Package org.n52.svalbard.decode.json
Class FeatureDecoder
- java.lang.Object
-
- org.n52.svalbard.decode.AbstractDelegatingDecoder<T,com.fasterxml.jackson.databind.JsonNode>
-
- org.n52.svalbard.decode.json.JSONDecoder<AbstractFeature>
-
- org.n52.svalbard.decode.json.FeatureDecoder
-
- All Implemented Interfaces:
Component<DecoderKey>,Keyed<DecoderKey>,Decoder<AbstractFeature,com.fasterxml.jackson.databind.JsonNode>
public class FeatureDecoder extends JSONDecoder<AbstractFeature>
TODO JavaDoc- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description FeatureDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractFeaturedecodeJSON(com.fasterxml.jackson.databind.JsonNode node)AbstractFeaturedecodeJSON(com.fasterxml.jackson.databind.JsonNode node, boolean validate)protected org.locationtech.jts.geom.GeometryparseGeometry(com.fasterxml.jackson.databind.JsonNode node)protected List<AbstractFeature>parseSampledFeatures(com.fasterxml.jackson.databind.JsonNode node)protected SamplingFeatureparseSamplingFeature(com.fasterxml.jackson.databind.JsonNode node)-
Methods inherited from class org.n52.svalbard.decode.json.JSONDecoder
decode, decodeJsonToObject, decodeJsonToObjectList, getKeys, parseCodeType, parseCodeWithAuthority, parseDateTime, parseTime, parseTimeInstant, parseTimePeriod
-
Methods inherited from class org.n52.svalbard.decode.AbstractDelegatingDecoder
getDecoder, getDecoderRepository, setDecoderRepository
-
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.decode.Decoder
getSupportedTypes
-
-
-
-
Method Detail
-
decodeJSON
public AbstractFeature decodeJSON(com.fasterxml.jackson.databind.JsonNode node, boolean validate) throws DecodingException
- Specified by:
decodeJSONin classJSONDecoder<AbstractFeature>- Throws:
DecodingException
-
decodeJSON
protected AbstractFeature decodeJSON(com.fasterxml.jackson.databind.JsonNode node) throws DecodingException
- Throws:
DecodingException
-
parseSamplingFeature
protected SamplingFeature parseSamplingFeature(com.fasterxml.jackson.databind.JsonNode node) throws DecodingException
- Throws:
DecodingException
-
parseSampledFeatures
protected List<AbstractFeature> parseSampledFeatures(com.fasterxml.jackson.databind.JsonNode node) throws DecodingException
- Throws:
DecodingException
-
parseGeometry
protected org.locationtech.jts.geom.Geometry parseGeometry(com.fasterxml.jackson.databind.JsonNode node) throws DecodingException- Throws:
DecodingException
-
-