Uses of Class
com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition
-
Packages that use BeanPropertyDefinition Package Description com.fasterxml.jackson.databind Basic data binding (mapping) functionality that allows for reading JSON content into Java Objects (POJOs) and JSON Trees (JsonNode
), as well as writing Java Objects and trees as JSON.com.fasterxml.jackson.databind.cfg Package that contains most of configuration-related classes; exception being couple of most-commonly used configuration things (like Feature enumerations) that are at the main level (com.fasterxml.jackson.databind
).com.fasterxml.jackson.databind.deser Contains implementation classes of deserialization part of data binding.com.fasterxml.jackson.databind.deser.impl Contains those implementation classes of deserialization part of data binding that are not considered part of public or semi-public interfaces.com.fasterxml.jackson.databind.exc com.fasterxml.jackson.databind.introspect Functionality needed for Bean introspection, required for detecting accessors and mutators for Beans, as well as locating and handling method annotations.com.fasterxml.jackson.databind.ser Contains implementation classes of serialization part of data binding.com.fasterxml.jackson.databind.ser.impl Contains implementation classes of serialization part of data binding.com.fasterxml.jackson.databind.util Utility classes for Mapper package. -
-
Uses of BeanPropertyDefinition in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return types with arguments of type BeanPropertyDefinition Modifier and Type Method Description abstract java.util.List<BeanPropertyDefinition>
BeanDescription. findBackReferences()
Method for locating all back-reference properties (setters, fields) bean hasabstract java.util.List<BeanPropertyDefinition>
BeanDescription. findProperties()
Methods in com.fasterxml.jackson.databind with parameters of type BeanPropertyDefinition Modifier and Type Method Description abstract java.lang.Object
SerializerProvider. includeFilterInstance(BeanPropertyDefinition forProperty, java.lang.Class<?> filterClass)
Method that can be called to construct and configureJsonInclude
filter instance, given aClass
to instantiate (with default constructor, by default).<T> T
DeserializationContext. reportBadPropertyDefinition(BeanDescription bean, BeanPropertyDefinition prop, java.lang.String msg, java.lang.Object... msgArgs)
Helper method called to indicate problem in POJO (serialization) definitions or settings regarding specific property (of a type), unrelated to actual JSON content to map.<T> T
SerializerProvider. reportBadPropertyDefinition(BeanDescription bean, BeanPropertyDefinition prop, java.lang.String message, java.lang.Object... msgArgs)
Helper method called to indicate problem in POJO (serialization) definitions or settings regarding specific property (of a type), unrelated to actual JSON content to map. -
Uses of BeanPropertyDefinition in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg with parameters of type BeanPropertyDefinition Modifier and Type Method Description java.lang.Object
HandlerInstantiator. includeFilterInstance(SerializationConfig config, BeanPropertyDefinition forProperty, java.lang.Class<?> filterClass)
Method called to construct a Filter (any Object with implementation ofequals(Object)
that determines if given value is to be excluded (true) or included (false)) to be used based onJsonInclude
annotation (or equivalent). -
Uses of BeanPropertyDefinition in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser that return types with arguments of type BeanPropertyDefinition Modifier and Type Method Description protected java.util.List<BeanPropertyDefinition>
BeanDeserializerFactory. filterBeanProps(DeserializationContext ctxt, BeanDescription beanDesc, BeanDeserializerBuilder builder, java.util.List<BeanPropertyDefinition> propDefsIn, java.util.Set<java.lang.String> ignored)
Deprecated.in 2.12, remove from 3.0protected java.util.List<BeanPropertyDefinition>
BeanDeserializerFactory. filterBeanProps(DeserializationContext ctxt, BeanDescription beanDesc, BeanDeserializerBuilder builder, java.util.List<BeanPropertyDefinition> propDefsIn, java.util.Set<java.lang.String> ignored, java.util.Set<java.lang.String> included)
Helper method called to filter out explicit ignored properties, as well as properties that have "ignorable types".java.util.List<BeanPropertyDefinition>
BeanDeserializerModifier. updateProperties(DeserializationConfig config, BeanDescription beanDesc, java.util.List<BeanPropertyDefinition> propDefs)
Method called byBeanDeserializerFactory
when it has collected initial list ofBeanPropertyDefinition
s, and done basic by-name and by-type filtering, but before constructing builder or actual property handlers; or arranging order.Methods in com.fasterxml.jackson.databind.deser with parameters of type BeanPropertyDefinition Modifier and Type Method Description protected SettableBeanProperty
BeanDeserializerFactory. constructSettableProperty(DeserializationContext ctxt, BeanDescription beanDesc, BeanPropertyDefinition propDef, JavaType propType0)
Method that will construct a regular bean property setter using the given setter method.protected SettableBeanProperty
BeanDeserializerFactory. constructSetterlessProperty(DeserializationContext ctxt, BeanDescription beanDesc, BeanPropertyDefinition propDef)
Method that will construct a regular bean property setter using the given setter method.protected boolean
BeanDeserializerFactory. isIgnorableType(DeserializationConfig config, BeanPropertyDefinition propDef, java.lang.Class<?> type, java.util.Map<java.lang.Class<?>,java.lang.Boolean> ignoredTypes)
Helper method that will check whether given raw type is marked as always ignorable (for purpose of ignoring properties with type)Method parameters in com.fasterxml.jackson.databind.deser with type arguments of type BeanPropertyDefinition Modifier and Type Method Description protected java.util.List<BeanPropertyDefinition>
BeanDeserializerFactory. filterBeanProps(DeserializationContext ctxt, BeanDescription beanDesc, BeanDeserializerBuilder builder, java.util.List<BeanPropertyDefinition> propDefsIn, java.util.Set<java.lang.String> ignored)
Deprecated.in 2.12, remove from 3.0protected java.util.List<BeanPropertyDefinition>
BeanDeserializerFactory. filterBeanProps(DeserializationContext ctxt, BeanDescription beanDesc, BeanDeserializerBuilder builder, java.util.List<BeanPropertyDefinition> propDefsIn, java.util.Set<java.lang.String> ignored, java.util.Set<java.lang.String> included)
Helper method called to filter out explicit ignored properties, as well as properties that have "ignorable types".java.util.List<BeanPropertyDefinition>
BeanDeserializerModifier. updateProperties(DeserializationConfig config, BeanDescription beanDesc, java.util.List<BeanPropertyDefinition> propDefs)
Method called byBeanDeserializerFactory
when it has collected initial list ofBeanPropertyDefinition
s, and done basic by-name and by-type filtering, but before constructing builder or actual property handlers; or arranging order.Constructors in com.fasterxml.jackson.databind.deser with parameters of type BeanPropertyDefinition Constructor Description SettableBeanProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations)
-
Uses of BeanPropertyDefinition in com.fasterxml.jackson.databind.deser.impl
Fields in com.fasterxml.jackson.databind.deser.impl declared as BeanPropertyDefinition Modifier and Type Field Description BeanPropertyDefinition
CreatorCandidate.Param. propDef
Methods in com.fasterxml.jackson.databind.deser.impl that return BeanPropertyDefinition Modifier and Type Method Description BeanPropertyDefinition
CreatorCandidate. propertyDef(int i)
Methods in com.fasterxml.jackson.databind.deser.impl with parameters of type BeanPropertyDefinition Modifier and Type Method Description static CreatorCandidate
CreatorCandidate. construct(AnnotationIntrospector intr, AnnotatedWithParams creator, BeanPropertyDefinition[] propDefs)
Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type BeanPropertyDefinition Constructor Description FieldProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field)
MethodProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method)
Param(AnnotatedParameter p, BeanPropertyDefinition pd, com.fasterxml.jackson.annotation.JacksonInject.Value i)
SetterlessProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method)
-
Uses of BeanPropertyDefinition in com.fasterxml.jackson.databind.exc
Fields in com.fasterxml.jackson.databind.exc declared as BeanPropertyDefinition Modifier and Type Field Description protected BeanPropertyDefinition
InvalidDefinitionException. _property
Methods in com.fasterxml.jackson.databind.exc that return BeanPropertyDefinition Modifier and Type Method Description BeanPropertyDefinition
InvalidDefinitionException. getProperty()
Accessor for property that had the definition problem if any (none, for example if the problem relates to type in general), if known.Methods in com.fasterxml.jackson.databind.exc with parameters of type BeanPropertyDefinition Modifier and Type Method Description static InvalidDefinitionException
InvalidDefinitionException. from(com.fasterxml.jackson.core.JsonGenerator g, java.lang.String msg, BeanDescription bean, BeanPropertyDefinition prop)
static InvalidDefinitionException
InvalidDefinitionException. from(com.fasterxml.jackson.core.JsonParser p, java.lang.String msg, BeanDescription bean, BeanPropertyDefinition prop)
Constructors in com.fasterxml.jackson.databind.exc with parameters of type BeanPropertyDefinition Constructor Description InvalidDefinitionException(com.fasterxml.jackson.core.JsonGenerator g, java.lang.String msg, BeanDescription bean, BeanPropertyDefinition prop)
InvalidDefinitionException(com.fasterxml.jackson.core.JsonParser p, java.lang.String msg, BeanDescription bean, BeanPropertyDefinition prop)
-
Uses of BeanPropertyDefinition in com.fasterxml.jackson.databind.introspect
Subclasses of BeanPropertyDefinition in com.fasterxml.jackson.databind.introspect Modifier and Type Class Description class
POJOPropertyBuilder
Helper class used for aggregating information about a single potential POJO property.Fields in com.fasterxml.jackson.databind.introspect with type parameters of type BeanPropertyDefinition Modifier and Type Field Description protected java.util.List<BeanPropertyDefinition>
BasicBeanDescription. _properties
Properties collected for the POJO; initialized as needed.Methods in com.fasterxml.jackson.databind.introspect that return BeanPropertyDefinition Modifier and Type Method Description BeanPropertyDefinition
BasicBeanDescription. findProperty(PropertyName name)
abstract BeanPropertyDefinition
BeanPropertyDefinition. withName(PropertyName newName)
Method that can be used to create a definition with same settings as this one, but with different (external) name; that is, one for whichgetName()
would returnnewName
.abstract BeanPropertyDefinition
BeanPropertyDefinition. withSimpleName(java.lang.String newSimpleName)
Alternate "mutant factory" that will only change simple name, but leave other optional parts (like namespace) as is.Methods in com.fasterxml.jackson.databind.introspect that return types with arguments of type BeanPropertyDefinition Modifier and Type Method Description protected java.util.List<BeanPropertyDefinition>
BasicBeanDescription. _properties()
java.util.List<BeanPropertyDefinition>
BasicBeanDescription. findBackReferences()
java.util.List<BeanPropertyDefinition>
BasicBeanDescription. findProperties()
java.util.List<BeanPropertyDefinition>
POJOPropertiesCollector. getProperties()
Methods in com.fasterxml.jackson.databind.introspect with parameters of type BeanPropertyDefinition Modifier and Type Method Description boolean
BasicBeanDescription. addProperty(BeanPropertyDefinition def)
Constructor parameters in com.fasterxml.jackson.databind.introspect with type arguments of type BeanPropertyDefinition Constructor Description BasicBeanDescription(MapperConfig<?> config, JavaType type, AnnotatedClass classDef, java.util.List<BeanPropertyDefinition> props)
Alternate constructor used in cases where property information is not needed, only class info. -
Uses of BeanPropertyDefinition in com.fasterxml.jackson.databind.ser
Method parameters in com.fasterxml.jackson.databind.ser with type arguments of type BeanPropertyDefinition Modifier and Type Method Description protected void
BeanSerializerFactory. removeIgnorableTypes(SerializationConfig config, BeanDescription beanDesc, java.util.List<BeanPropertyDefinition> properties)
Method that will apply by-type limitations (as per [JACKSON-429]); by default this is based onJsonIgnoreType
annotation but can be supplied by module-provided introspectors too.protected void
BeanSerializerFactory. removeSetterlessGetters(SerializationConfig config, BeanDescription beanDesc, java.util.List<BeanPropertyDefinition> properties)
Helper method that will remove all properties that do not have a mutator.Constructors in com.fasterxml.jackson.databind.ser with parameters of type BeanPropertyDefinition Constructor Description BeanPropertyWriter(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, java.lang.Object suppressableValue)
Deprecated.BeanPropertyWriter(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, java.lang.Object suppressableValue, java.lang.Class<?>[] includeInViews)
PropertyWriter(BeanPropertyDefinition propDef)
VirtualBeanPropertyWriter(BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType)
Constructor used by most sub-types.VirtualBeanPropertyWriter(BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, JavaType serType, com.fasterxml.jackson.annotation.JsonInclude.Value inclusion)
Deprecated.VirtualBeanPropertyWriter(BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, JavaType serType, com.fasterxml.jackson.annotation.JsonInclude.Value inclusion, java.lang.Class<?>[] includeInViews)
Pass-through constructor that may be used by sub-classes that want full control over implementation. -
Uses of BeanPropertyDefinition in com.fasterxml.jackson.databind.ser.impl
Methods in com.fasterxml.jackson.databind.ser.impl with parameters of type BeanPropertyDefinition Modifier and Type Method Description static AttributePropertyWriter
AttributePropertyWriter. construct(java.lang.String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType)
VirtualBeanPropertyWriter
AttributePropertyWriter. withConfig(MapperConfig<?> config, AnnotatedClass declaringClass, BeanPropertyDefinition propDef, JavaType type)
Since this method should typically not be called on this sub-type, default implementation simply throws anIllegalStateException
.Constructors in com.fasterxml.jackson.databind.ser.impl with parameters of type BeanPropertyDefinition Constructor Description AttributePropertyWriter(java.lang.String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType)
AttributePropertyWriter(java.lang.String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, com.fasterxml.jackson.annotation.JsonInclude.Value inclusion)
-
Uses of BeanPropertyDefinition in com.fasterxml.jackson.databind.util
Subclasses of BeanPropertyDefinition in com.fasterxml.jackson.databind.util Modifier and Type Class Description class
SimpleBeanPropertyDefinition
Simple immutableBeanPropertyDefinition
implementation that can be wrapped around aAnnotatedMember
that is a simple accessor (getter) or mutator (setter, constructor parameter) (or both, for fields).Methods in com.fasterxml.jackson.databind.util that return BeanPropertyDefinition Modifier and Type Method Description BeanPropertyDefinition
SimpleBeanPropertyDefinition. withInclusion(com.fasterxml.jackson.annotation.JsonInclude.Value inclusion)
BeanPropertyDefinition
SimpleBeanPropertyDefinition. withMetadata(PropertyMetadata metadata)
BeanPropertyDefinition
SimpleBeanPropertyDefinition. withName(PropertyName newName)
BeanPropertyDefinition
SimpleBeanPropertyDefinition. withSimpleName(java.lang.String newName)
-