Class ExternalTypeHandler.Builder

java.lang.Object
tools.jackson.databind.deser.impl.ExternalTypeHandler.Builder
Enclosing class:
ExternalTypeHandler

public static class ExternalTypeHandler.Builder extends Object
  • Constructor Details

    • Builder

      protected Builder(JavaType t)
  • Method Details

    • addExternal

      @Deprecated public void addExternal(SettableBeanProperty property, TypeDeserializer typeDeser)
      Deprecated.
    • addExternal

      public void addExternal(SettableBeanProperty property, TypeDeserializer typeDeser, List<PropertyName> valueAliases)
      Variant that also accepts aliases of the value property, so that an external type id can resolve value via an aliased property name.
      Since:
      3.2
    • build

      public ExternalTypeHandler build(BeanPropertyMap otherProps)
      Method called after all external properties have been assigned, to further link property with polymorphic value with possible property for type id itself. This is needed to support type ids as Creator properties.