Class ValueInstantiator.Base

    • Constructor Detail

      • Base

        public Base​(java.lang.Class<?> type)
    • Method Detail

      • getValueTypeDesc

        public java.lang.String getValueTypeDesc()
        Description copied from class: ValueInstantiator
        Method that returns description of the value type this instantiator handles. Used for error messages, diagnostics.
        Overrides:
        getValueTypeDesc in class ValueInstantiator
      • getValueClass

        public java.lang.Class<?> getValueClass()
        Description copied from class: ValueInstantiator
        Accessor for raw (type-erased) type of instances to create.

        NOTE: since this method has not existed since beginning of Jackson 2.0 series, default implementation will just return Object.class; implementations are expected to override it with real value.

        Overrides:
        getValueClass in class ValueInstantiator