Class CustomAttributeDeserializerWithRootName
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<T>
-
- com.fasterxml.jackson.databind.deser.std.StdDeserializer<Attribute>
-
- org.openprovenance.prov.core.json.serialization.deserial.CustomAttributeDeserializerWithRootName
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider,Serializable,Constants
public class CustomAttributeDeserializerWithRootName extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<Attribute> implements Constants
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_valueClass, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS
-
Fields inherited from interface org.openprovenance.prov.core.json.serialization.Constants
PROPERTY_AT_TYPE, PROPERTY_AT_VALUE, PROPERTY_BLOCK_TYPE, PROPERTY_PROV_ACTIVITY, PROPERTY_PROV_AGENT, PROPERTY_PROV_ALTERNATE, PROPERTY_PROV_ASSOCIATION, PROPERTY_PROV_ATTRIBUTION, PROPERTY_PROV_BUNDLE, PROPERTY_PROV_COMMUNICATION, PROPERTY_PROV_DELEGATION, PROPERTY_PROV_DERIVATION, PROPERTY_PROV_END, PROPERTY_PROV_ENTITY, PROPERTY_PROV_GENERATION, PROPERTY_PROV_INFLUENCE, PROPERTY_PROV_INVALIDATION, PROPERTY_PROV_MEMBERSHIP, PROPERTY_PROV_QUALIFIED_ALTERNATE, PROPERTY_PROV_QUALIFIED_MEMBERSHIP, PROPERTY_PROV_QUALIFIED_SPECIALIZATION, PROPERTY_PROV_SPECIALIZATION, PROPERTY_PROV_START, PROPERTY_PROV_USED, PROPERTY_STRING_LANG, PROPERTY_STRING_VALUE
-
-
Constructor Summary
Constructors Constructor Description CustomAttributeDeserializerWithRootName()CustomAttributeDeserializerWithRootName(Class<?> vc)
-
Method Summary
Modifier and Type Method Description Attributedeserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext deserializationContext)Attributedeserialize(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.DeserializationContext deserializationContext)Attributedeserialize(QualifiedName elementName, com.fasterxml.jackson.databind.JsonNode vObj, com.fasterxml.jackson.databind.DeserializationContext deserializationContext)Attributedeserialize(QualifiedName elementName, String astring, com.fasterxml.jackson.databind.DeserializationContext deserializationContext)-
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_byteOverflow, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeWrappedValue, _failDoubleToIntCoercion, _findNullProvider, _hasTextualNull, _intOverflow, _isEmptyOrTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _neitherNull, _nonNullNumber, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseIntPrimitive, _parseIntPrimitive, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, deserializeWithType, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-
-
-
Constructor Detail
-
CustomAttributeDeserializerWithRootName
public CustomAttributeDeserializerWithRootName()
-
CustomAttributeDeserializerWithRootName
public CustomAttributeDeserializerWithRootName(Class<?> vc)
-
-
Method Detail
-
deserialize
public Attribute deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
- Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<Attribute>- Throws:
IOExceptioncom.fasterxml.jackson.core.JsonProcessingException
-
deserialize
public Attribute deserialize(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
- Throws:
IOExceptioncom.fasterxml.jackson.core.JsonProcessingException
-
deserialize
public Attribute deserialize(QualifiedName elementName, String astring, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
- Throws:
IOExceptioncom.fasterxml.jackson.core.JsonProcessingException
-
deserialize
public Attribute deserialize(QualifiedName elementName, com.fasterxml.jackson.databind.JsonNode vObj, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
- Throws:
IOExceptioncom.fasterxml.jackson.core.JsonProcessingException
-
-