Module tools.jackson.databind
Class TokenStreamLocationInstantiator
java.lang.Object
tools.jackson.databind.deser.ValueInstantiator
tools.jackson.databind.deser.ValueInstantiator.Base
tools.jackson.databind.deser.jackson.TokenStreamLocationInstantiator
For
TokenStreamLocation, we should be able to just implement
ValueInstantiator (not that explicit one would be very
hard but...)-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.deser.ValueInstantiator
ValueInstantiator.Base, ValueInstantiator.Delegating, ValueInstantiator.Gettable -
Field Summary
Fields inherited from class tools.jackson.databind.deser.ValueInstantiator.Base
_valueType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethod that can be called to check whether a property-based creator (argument-taking constructor or factory method) is available to instantiate values from JSON ObjectcreateFromObjectWith(DeserializationContext ctxt, Object[] args) Method called to create value instance from JSON Object when instantiation arguments are passed; this is done, for example when passing information specified with "Creator" annotations.Method called to determine types of instantiation arguments to use when creating instances with creator arguments (whenValueInstantiator.canCreateFromObjectWith()returns true).Methods inherited from class tools.jackson.databind.deser.ValueInstantiator.Base
createContextual, getValueClass, getValueTypeDescMethods inherited from class tools.jackson.databind.deser.ValueInstantiator
canCreateFromBigDecimal, canCreateFromBigInteger, canCreateFromBoolean, canCreateFromDouble, canCreateFromInt, canCreateFromLong, canCreateFromString, canCreateUsingArrayDelegate, canCreateUsingDefault, canCreateUsingDelegate, canInstantiate, createFromBigDecimal, createFromBigInteger, createFromBoolean, createFromDouble, createFromInt, createFromLong, createFromObjectWith, createFromString, createUsingArrayDelegate, createUsingDefault, createUsingDefaultOrWithoutArguments, createUsingDelegate, getArrayDelegateCreator, getArrayDelegateType, getDefaultCreator, getDelegateCreator, getDelegateType, getWithArgsCreator
-
Constructor Details
-
TokenStreamLocationInstantiator
public TokenStreamLocationInstantiator()
-
-
Method Details
-
canCreateFromObjectWith
public boolean canCreateFromObjectWith()Description copied from class:ValueInstantiatorMethod that can be called to check whether a property-based creator (argument-taking constructor or factory method) is available to instantiate values from JSON Object- Overrides:
canCreateFromObjectWithin classValueInstantiator
-
getFromObjectArguments
Description copied from class:ValueInstantiatorMethod called to determine types of instantiation arguments to use when creating instances with creator arguments (whenValueInstantiator.canCreateFromObjectWith()returns true). These arguments are bound from JSON, using specified property types to locate deserializers.NOTE: all properties will be of type
CreatorProperty.- Overrides:
getFromObjectArgumentsin classValueInstantiator
-
createFromObjectWith
Description copied from class:ValueInstantiatorMethod called to create value instance from JSON Object when instantiation arguments are passed; this is done, for example when passing information specified with "Creator" annotations.This method is called if
ValueInstantiator.getFromObjectArguments(tools.jackson.databind.DeserializationConfig)returns a non-empty List of arguments.- Overrides:
createFromObjectWithin classValueInstantiator
-