Uses of Class
tools.jackson.databind.introspect.BeanPropertyDefinition
Packages that use BeanPropertyDefinition
Package
Description
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.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 (
tools.jackson.databind).Contains implementation classes of deserialization part of
data binding.
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Contains implementation classes of serialization part of
data binding.
Contains implementation classes of serialization part of
data binding.
Utility classes for Mapper package.
-
Uses of BeanPropertyDefinition in tools.jackson.databind
Methods in tools.jackson.databind that return types with arguments of type BeanPropertyDefinitionModifier and TypeMethodDescriptionabstract List<BeanPropertyDefinition>BeanDescription.findBackReferences()Method for locating all back-reference properties (setters, fields) bean hasabstract List<BeanPropertyDefinition>BeanDescription.findProperties()Methods in tools.jackson.databind with parameters of type BeanPropertyDefinitionModifier and TypeMethodDescriptionabstract ObjectSerializationContext.includeFilterInstance(BeanPropertyDefinition forProperty, Class<?> filterClass) Method that can be called to construct and configureJsonIncludefilter instance, given aClassto instantiate (with default constructor, by default).<T> TDeserializationContext.reportBadPropertyDefinition(BeanDescription.Supplier beanDescRef, BeanPropertyDefinition prop, String msg, 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> TDeserializationContext.reportBadPropertyDefinition(BeanDescription bean, BeanPropertyDefinition prop, String msg, Object... msgArgs) <T> TSerializationContext.reportBadPropertyDefinition(BeanDescription bean, BeanPropertyDefinition prop, String message, 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 tools.jackson.databind.cfg
Methods in tools.jackson.databind.cfg with parameters of type BeanPropertyDefinitionModifier and TypeMethodDescriptionHandlerInstantiator.includeFilterInstance(SerializationConfig config, BeanPropertyDefinition forProperty, 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 onJsonIncludeannotation (or equivalent). -
Uses of BeanPropertyDefinition in tools.jackson.databind.deser
Methods in tools.jackson.databind.deser that return types with arguments of type BeanPropertyDefinitionModifier and TypeMethodDescriptionprotected List<BeanPropertyDefinition>BeanDeserializerFactory.filterBeanProps(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanDeserializerBuilder builder, List<BeanPropertyDefinition> propDefsIn, Set<String> ignored, Set<String> included) Helper method called to filter out explicit ignored properties, as well as properties that have "ignorable types".ValueDeserializerModifier.updateProperties(DeserializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyDefinition> propDefs) Method called byBeanDeserializerFactorywhen it has collected initial list ofBeanPropertyDefinitions, and done basic by-name and by-type filtering, but before constructing builder or actual property handlers; or arranging order.Methods in tools.jackson.databind.deser with parameters of type BeanPropertyDefinitionModifier and TypeMethodDescriptionprotected SettableBeanPropertyBeanDeserializerFactory.constructSettableProperty(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanPropertyDefinition propDef, JavaType propType0) Method that will construct a regular bean property setter using the given setter method.protected SettableBeanPropertyBeanDeserializerFactory.constructSetterlessProperty(DeserializationContext ctxt, BeanDescription beanDesc, BeanPropertyDefinition propDef) Method that will construct a regular bean property setter using the given setter method.protected booleanBeanDeserializerFactory.isIgnorableType(DeserializationContext ctxt, BeanPropertyDefinition propDef, Class<?> type, Map<Class<?>, 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 tools.jackson.databind.deser with type arguments of type BeanPropertyDefinitionModifier and TypeMethodDescriptionprotected List<BeanPropertyDefinition>BeanDeserializerFactory.filterBeanProps(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanDeserializerBuilder builder, List<BeanPropertyDefinition> propDefsIn, Set<String> ignored, Set<String> included) Helper method called to filter out explicit ignored properties, as well as properties that have "ignorable types".ValueDeserializerModifier.updateProperties(DeserializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyDefinition> propDefs) Method called byBeanDeserializerFactorywhen it has collected initial list ofBeanPropertyDefinitions, and done basic by-name and by-type filtering, but before constructing builder or actual property handlers; or arranging order.Constructors in tools.jackson.databind.deser with parameters of type BeanPropertyDefinitionModifierConstructorDescriptionprotectedSettableBeanProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations) -
Uses of BeanPropertyDefinition in tools.jackson.databind.deser.bean
Fields in tools.jackson.databind.deser.bean declared as BeanPropertyDefinitionMethods in tools.jackson.databind.deser.bean that return BeanPropertyDefinitionMethods in tools.jackson.databind.deser.bean with parameters of type BeanPropertyDefinitionModifier and TypeMethodDescriptionstatic CreatorCandidateCreatorCandidate.construct(MapperConfig<?> config, AnnotatedWithParams creator, BeanPropertyDefinition[] propDefs) Constructors in tools.jackson.databind.deser.bean with parameters of type BeanPropertyDefinitionModifierConstructorDescription -
Uses of BeanPropertyDefinition in tools.jackson.databind.deser.impl
Constructors in tools.jackson.databind.deser.impl with parameters of type BeanPropertyDefinitionModifierConstructorDescriptionMethodProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMember annotated) SetterlessProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method) -
Uses of BeanPropertyDefinition in tools.jackson.databind.exc
Fields in tools.jackson.databind.exc declared as BeanPropertyDefinitionModifier and TypeFieldDescriptionprotected BeanPropertyDefinitionInvalidDefinitionException._propertyMethods in tools.jackson.databind.exc that return BeanPropertyDefinitionModifier and TypeMethodDescriptionInvalidDefinitionException.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 tools.jackson.databind.exc with parameters of type BeanPropertyDefinitionModifier and TypeMethodDescriptionstatic InvalidDefinitionExceptionInvalidDefinitionException.from(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop) static InvalidDefinitionExceptionInvalidDefinitionException.from(JsonParser p, String msg, BeanDescription.Supplier beanDescRef, BeanPropertyDefinition prop) static InvalidDefinitionExceptionInvalidDefinitionException.from(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop) Constructors in tools.jackson.databind.exc with parameters of type BeanPropertyDefinitionModifierConstructorDescriptionprotectedInvalidDefinitionException(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop) protectedInvalidDefinitionException(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop) -
Uses of BeanPropertyDefinition in tools.jackson.databind.introspect
Subclasses of BeanPropertyDefinition in tools.jackson.databind.introspectModifier and TypeClassDescriptionclassHelper class used for aggregating information about a single potential POJO property.Fields in tools.jackson.databind.introspect with type parameters of type BeanPropertyDefinitionModifier and TypeFieldDescriptionprotected List<BeanPropertyDefinition>BasicBeanDescription._propertiesProperties collected for the POJO; initialized as needed.Methods in tools.jackson.databind.introspect that return BeanPropertyDefinitionModifier and TypeMethodDescriptionBasicBeanDescription.findProperty(PropertyName name) PotentialCreator.propertyDefs()abstract BeanPropertyDefinitionBeanPropertyDefinition.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 whichNamed.getName()would returnnewName.abstract BeanPropertyDefinitionBeanPropertyDefinition.withSimpleName(String newSimpleName) Alternate "mutant factory" that will only change simple name, but leave other optional parts (like namespace) as is.Methods in tools.jackson.databind.introspect that return types with arguments of type BeanPropertyDefinitionModifier and TypeMethodDescriptionprotected List<BeanPropertyDefinition>BasicBeanDescription._properties()BasicBeanDescription.findBackReferences()BasicBeanDescription.findProperties()POJOPropertiesCollector.getProperties()Methods in tools.jackson.databind.introspect with parameters of type BeanPropertyDefinitionModifier and TypeMethodDescriptionbooleanBasicBeanDescription.addProperty(BeanPropertyDefinition def) Method parameters in tools.jackson.databind.introspect with type arguments of type BeanPropertyDefinitionModifier and TypeMethodDescriptionvoidPotentialCreator.assignPropertyDefs(List<? extends BeanPropertyDefinition> propertyDefs) -
Uses of BeanPropertyDefinition in tools.jackson.databind.ser
Methods in tools.jackson.databind.ser with parameters of type BeanPropertyDefinitionModifier and TypeMethodDescriptionprotected BeanPropertyWriterPropertyBuilder._constructPropertyWriter(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue, Class<?>[] includeInViews) Overridable factory method for actual construction ofBeanPropertyWriter; often needed if subclassingPropertyBuilder.buildWriter(tools.jackson.databind.SerializationContext, tools.jackson.databind.introspect.BeanPropertyDefinition, tools.jackson.databind.JavaType, tools.jackson.databind.ValueSerializer<?>, tools.jackson.databind.jsontype.TypeSerializer, tools.jackson.databind.jsontype.TypeSerializer, tools.jackson.databind.introspect.AnnotatedMember, boolean)method.protected BeanPropertyWriterBeanSerializerFactory._constructWriter(SerializationContext ctxt, BeanPropertyDefinition propDef, PropertyBuilder pb, boolean staticTyping, AnnotatedMember accessor) Secondary helper method for constructingBeanPropertyWriterfor given member (field or method).protected BeanPropertyWriterPropertyBuilder.buildWriter(SerializationContext ctxt, BeanPropertyDefinition propDef, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, TypeSerializer contentTypeSer, AnnotatedMember am, boolean defaultUseStaticTyping) SerializationContextExt.includeFilterInstance(BeanPropertyDefinition forProperty, Class<?> filterClass) abstract VirtualBeanPropertyWriterVirtualBeanPropertyWriter.withConfig(MapperConfig<?> config, AnnotatedClass declaringClass, BeanPropertyDefinition propDef, JavaType type) Contextualization method called on a newly constructed virtual bean property.Method parameters in tools.jackson.databind.ser with type arguments of type BeanPropertyDefinitionModifier and TypeMethodDescriptionprotected voidBeanSerializerFactory.removeIgnorableTypes(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, List<BeanPropertyDefinition> properties) Method that will apply by-type limitations (as per [JACKSON-429]); by default this is based onJsonIgnoreTypeannotation but can be supplied by module-provided introspectors too.protected voidBeanSerializerFactory.removeSetterlessGetters(SerializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyDefinition> properties) Helper method that will remove all properties that do not have a mutator.Constructors in tools.jackson.databind.ser with parameters of type BeanPropertyDefinitionModifierConstructorDescriptionBeanPropertyWriter(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue, Class<?>[] includeInViews) protectedPropertyWriter(BeanPropertyDefinition propDef) protectedVirtualBeanPropertyWriter(BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType) Constructor used by most sub-types.protectedVirtualBeanPropertyWriter(BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, JavaType serType, JsonInclude.Value inclusion, Class<?>[] includeInViews) Pass-through constructor that may be used by sub-classes that want full control over implementation. -
Uses of BeanPropertyDefinition in tools.jackson.databind.ser.impl
Methods in tools.jackson.databind.ser.impl with parameters of type BeanPropertyDefinitionModifier and TypeMethodDescriptionstatic AttributePropertyWriterAttributePropertyWriter.construct(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType) 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 tools.jackson.databind.ser.impl with parameters of type BeanPropertyDefinitionModifierConstructorDescriptionprotectedAttributePropertyWriter(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType) protectedAttributePropertyWriter(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, JsonInclude.Value inclusion) -
Uses of BeanPropertyDefinition in tools.jackson.databind.util
Subclasses of BeanPropertyDefinition in tools.jackson.databind.utilModifier and TypeClassDescriptionclassSimple immutableBeanPropertyDefinitionimplementation that can be wrapped around aAnnotatedMemberthat is a simple accessor (getter) or mutator (setter, constructor parameter) (or both, for fields).Methods in tools.jackson.databind.util that return BeanPropertyDefinitionModifier and TypeMethodDescriptionSimpleBeanPropertyDefinition.withInclusion(JsonInclude.Value inclusion) SimpleBeanPropertyDefinition.withMetadata(PropertyMetadata metadata) SimpleBeanPropertyDefinition.withName(PropertyName newName) SimpleBeanPropertyDefinition.withSimpleName(String newName)