Package org.n52.svalbard.decode.json
Class FeatureDecoder
java.lang.Object
org.n52.svalbard.decode.AbstractDelegatingDecoder<AbstractFeature,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>
TODO JavaDoc
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractFeaturedecodeJSON(com.fasterxml.jackson.databind.JsonNode node) decodeJSON(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, parseTimePeriodMethods inherited from class org.n52.svalbard.decode.AbstractDelegatingDecoder
getDecoder, getDecoderRepository, setDecoderRepositoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.n52.svalbard.decode.Decoder
getSupportedTypes
-
Constructor Details
-
FeatureDecoder
public FeatureDecoder()
-
-
Method Details
-
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
-