Class XmlDeserializationContext

java.lang.Object
tools.jackson.databind.DatabindContext
tools.jackson.databind.DeserializationContext
tools.jackson.databind.deser.DeserializationContextExt
tools.jackson.dataformat.xml.deser.XmlDeserializationContext
All Implemented Interfaces:
tools.jackson.core.ObjectReadContext

public class XmlDeserializationContext extends tools.jackson.databind.deser.DeserializationContextExt
XML-specific DeserializationContext needed to override certain handlers.
  • Nested Class Summary

    Nested classes/interfaces inherited from class tools.jackson.databind.deser.DeserializationContextExt

    tools.jackson.databind.deser.DeserializationContextExt.Impl

    Nested classes/interfaces inherited from interface tools.jackson.core.ObjectReadContext

    tools.jackson.core.ObjectReadContext.Base
  • Field Summary

    Fields inherited from class tools.jackson.databind.deser.DeserializationContextExt

    _objectIds

    Fields inherited from class tools.jackson.databind.DeserializationContext

    _activeView, _arrayBuilders, _attributes, _cache, _classIntrospector, _config, _currentType, _dateFormat, _factory, _featureFlags, _injectableValues, _objectBuffer, _parser, _readCapabilities, _schema, _streamFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
    XmlDeserializationContext(tools.jackson.core.TokenStreamFactory tsf, tools.jackson.databind.deser.DeserializerFactory deserializerFactory, tools.jackson.databind.deser.DeserializerCache cache, tools.jackson.databind.DeserializationConfig config, tools.jackson.core.FormatSchema schema, tools.jackson.databind.InjectableValues values)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    extractScalarFromObject(tools.jackson.core.JsonParser p, tools.jackson.databind.ValueDeserializer<?> deser, Class<?> scalarType)
     
    readRootValue(tools.jackson.core.JsonParser p, tools.jackson.databind.JavaType valueType, tools.jackson.databind.ValueDeserializer<Object> deser, Object valueToUpdate)
     

    Methods inherited from class tools.jackson.databind.deser.DeserializationContextExt

    _unwrapAndDeserialize, assignAndReturnParser, assignParser, checkUnresolvedObjectId, createReadableObjectId, deserializerInstance, findObjectId, keyDeserializerInstance, tryToResolveUnresolvedObjectId

    Methods inherited from class tools.jackson.databind.DeserializationContext

    _getDateFormat, _isCompatible, _shapeForToken, bufferAsCopyOfValue, bufferForInputBuffering, bufferForInputBuffering, canOverrideAccessModifiers, classIntrospector, constructCalendar, constructSpecializedType, constructType, createArrayNode, createObjectNode, findClass, findCoercionAction, findCoercionFromBlankString, findContextualValueDeserializer, findInjectableValue, findKeyDeserializer, findNonContextualValueDeserializer, findPropertyContentTypeDeserializer, findPropertyTypeDeserializer, findRootName, findRootName, findRootValueDeserializer, findTypeDeserializer, findTypeDeserializer, flushCachedDeserializers, getActiveView, getAnnotationIntrospector, getArrayBuilders, getAttribute, getBase64Variant, getConfig, getContextualType, getDatatypeFeatures, getDefaultPropertyFormat, getDeserializationFeatures, getFormatReadFeatures, getLocale, getNodeFactory, getParser, getSchema, getStreamReadFeatures, getTimeZone, getTypeFactory, handleBadMerge, handleInstantiationProblem, handleMissingInstantiator, handleMissingTypeId, handlePrimaryContextualization, handleSecondaryContextualization, handleUnexpectedToken, handleUnexpectedToken, handleUnexpectedToken, handleUnknownProperty, handleUnknownTypeId, handleWeirdKey, handleWeirdNativeValue, handleWeirdNumberValue, handleWeirdStringValue, hasDeserializationFeatures, hasExplicitDeserializerFor, hasSomeOfFeatures, instantiationException, instantiationException, introspectBeanDescription, introspectBeanDescriptionForBuilder, introspectBeanDescriptionForCreation, introspectBeanDescriptionForCreation, invalidTypeIdException, isEnabled, isEnabled, isEnabled, isEnabled, lazyIntrospectBeanDescriptionForBuilder, lazyIntrospectBeanDescriptionForCreation, leaseObjectBuffer, missingInjectableValueException, missingTypeIdException, parseDate, readPropertyValue, readPropertyValue, readTree, readTreeAsValue, readTreeAsValue, readValue, readValue, readValue, readValue, reportBadCoercion, reportBadDefinition, reportBadPropertyDefinition, reportBadPropertyDefinition, reportBadTypeDefinition, reportInputMismatch, reportInputMismatch, reportInputMismatch, reportInputMismatch, reportPropertyInputMismatch, reportPropertyInputMismatch, reportTrailingTokens, reportUnresolvedObjectId, reportWrongTokenException, reportWrongTokenException, reportWrongTokenException, returnObjectBuffer, setAttribute, streamReadConstraints, tokenStreamFactory, weirdKeyException, weirdNativeValueException, weirdNumberException, weirdStringException, wrongTokenException, wrongTokenException

    Methods inherited from class tools.jackson.databind.DatabindContext

    _colonConcat, _desc, _format, _quotedString, _throwNotASubtype, _throwSubtypeClassNotAllowed, _throwSubtypeNameNotAllowed, _truncate, constructType, converterInstance, introspectBeanDescription, introspectClassAnnotations, introspectClassAnnotations, introspectDirectClassAnnotations, isAnnotationProcessingEnabled, lazyIntrospectBeanDescription, objectIdGeneratorInstance, objectIdResolverInstance, reportBadDefinition, reportBadTypeDefinition, resolveAndValidateSubType, resolveSubType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface tools.jackson.core.ObjectReadContext

    createParser, createParser, createParser, createParser, createParser, treeAsTokens
  • Constructor Details

    • XmlDeserializationContext

      public XmlDeserializationContext(tools.jackson.core.TokenStreamFactory tsf, tools.jackson.databind.deser.DeserializerFactory deserializerFactory, tools.jackson.databind.deser.DeserializerCache cache, tools.jackson.databind.DeserializationConfig config, tools.jackson.core.FormatSchema schema, tools.jackson.databind.InjectableValues values)
  • Method Details

    • readRootValue

      public Object readRootValue(tools.jackson.core.JsonParser p, tools.jackson.databind.JavaType valueType, tools.jackson.databind.ValueDeserializer<Object> deser, Object valueToUpdate) throws tools.jackson.core.JacksonException
      Overrides:
      readRootValue in class tools.jackson.databind.deser.DeserializationContextExt
      Throws:
      tools.jackson.core.JacksonException
    • extractScalarFromObject

      public String extractScalarFromObject(tools.jackson.core.JsonParser p, tools.jackson.databind.ValueDeserializer<?> deser, Class<?> scalarType) throws tools.jackson.core.JacksonException
      Overrides:
      extractScalarFromObject in class tools.jackson.databind.DeserializationContext
      Throws:
      tools.jackson.core.JacksonException