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 List<BeanPropertyDefinition>BeanDescription. findBackReferences()Method for locating all back-reference properties (setters, fields) bean hasabstract List<BeanPropertyDefinition>BeanDescription. findProperties()Methods in com.fasterxml.jackson.databind with parameters of type BeanPropertyDefinition Modifier and Type Method Description abstract ObjectSerializerProvider. 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 bean, 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> TSerializerProvider. 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 com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg with parameters of type BeanPropertyDefinition Modifier and Type Method Description ObjectHandlerInstantiator. 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 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 List<BeanPropertyDefinition>BeanDeserializerFactory. filterBeanProps(DeserializationContext ctxt, BeanDescription beanDesc, BeanDeserializerBuilder builder, List<BeanPropertyDefinition> propDefsIn, Set<String> ignored)Helper method called to filter out explicit ignored properties, as well as properties that have "ignorable types".List<BeanPropertyDefinition>BeanDeserializerModifier. updateProperties(DeserializationConfig config, BeanDescription beanDesc, 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 com.fasterxml.jackson.databind.deser with parameters of type BeanPropertyDefinition Modifier and Type Method Description protected SettableBeanPropertyBeanDeserializerFactory. constructSettableProperty(DeserializationContext ctxt, BeanDescription beanDesc, 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(DeserializationConfig config, 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 com.fasterxml.jackson.databind.deser with type arguments of type BeanPropertyDefinition Modifier and Type Method Description protected List<BeanPropertyDefinition>BeanDeserializerFactory. filterBeanProps(DeserializationContext ctxt, BeanDescription beanDesc, BeanDeserializerBuilder builder, List<BeanPropertyDefinition> propDefsIn, Set<String> ignored)Helper method called to filter out explicit ignored properties, as well as properties that have "ignorable types".List<BeanPropertyDefinition>BeanDeserializerModifier. updateProperties(DeserializationConfig config, BeanDescription beanDesc, 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 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 BeanPropertyDefinitionCreatorCandidate.Param. propDefMethods in com.fasterxml.jackson.databind.deser.impl that return BeanPropertyDefinition Modifier and Type Method Description BeanPropertyDefinitionCreatorCandidate. propertyDef(int i)Methods in com.fasterxml.jackson.databind.deser.impl with parameters of type BeanPropertyDefinition Modifier and Type Method Description static CreatorCandidateCreatorCandidate. 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 BeanPropertyDefinitionInvalidDefinitionException. _propertyMethods in com.fasterxml.jackson.databind.exc that return BeanPropertyDefinition Modifier and Type Method Description BeanPropertyDefinitionInvalidDefinitionException. 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 InvalidDefinitionExceptionInvalidDefinitionException. from(com.fasterxml.jackson.core.JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop)static InvalidDefinitionExceptionInvalidDefinitionException. from(com.fasterxml.jackson.core.JsonParser p, 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, String msg, BeanDescription bean, BeanPropertyDefinition prop)InvalidDefinitionException(com.fasterxml.jackson.core.JsonParser p, 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 classPOJOPropertyBuilderHelper 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 List<BeanPropertyDefinition>BasicBeanDescription. _propertiesProperties collected for the POJO; initialized as needed.Methods in com.fasterxml.jackson.databind.introspect that return BeanPropertyDefinition Modifier and Type Method Description BeanPropertyDefinitionBasicBeanDescription. findProperty(PropertyName name)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 whichgetName()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 com.fasterxml.jackson.databind.introspect that return types with arguments of type BeanPropertyDefinition Modifier and Type Method Description protected List<BeanPropertyDefinition>BasicBeanDescription. _properties()List<BeanPropertyDefinition>BasicBeanDescription. findBackReferences()List<BeanPropertyDefinition>BasicBeanDescription. findProperties()List<BeanPropertyDefinition>POJOPropertiesCollector. getProperties()Methods in com.fasterxml.jackson.databind.introspect with parameters of type BeanPropertyDefinition Modifier and Type Method Description booleanBasicBeanDescription. 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, 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
Methods in com.fasterxml.jackson.databind.ser with parameters of type BeanPropertyDefinition Modifier and Type Method Description protected BeanPropertyWriterBeanSerializerFactory. _constructWriter(SerializerProvider prov, BeanPropertyDefinition propDef, PropertyBuilder pb, boolean staticTyping, AnnotatedMember accessor)Secondary helper method for constructingBeanPropertyWriterfor given member (field or method).protected BeanPropertyWriterPropertyBuilder. buildWriter(SerializerProvider prov, BeanPropertyDefinition propDef, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, TypeSerializer contentTypeSer, AnnotatedMember am, boolean defaultUseStaticTyping)ObjectDefaultSerializerProvider. 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 com.fasterxml.jackson.databind.ser with type arguments of type BeanPropertyDefinition Modifier and Type Method Description protected voidBeanSerializerFactory. removeIgnorableTypes(SerializationConfig config, BeanDescription beanDesc, 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 beanDesc, 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, Object suppressableValue)Deprecated.BeanPropertyWriter(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue, 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, 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 AttributePropertyWriterAttributePropertyWriter. construct(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType)VirtualBeanPropertyWriterAttributePropertyWriter. 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(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType)AttributePropertyWriter(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 classSimpleBeanPropertyDefinitionSimple immutableBeanPropertyDefinitionimplementation that can be wrapped around aAnnotatedMemberthat 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 BeanPropertyDefinitionSimpleBeanPropertyDefinition. withInclusion(com.fasterxml.jackson.annotation.JsonInclude.Value inclusion)BeanPropertyDefinitionSimpleBeanPropertyDefinition. withMetadata(PropertyMetadata metadata)BeanPropertyDefinitionSimpleBeanPropertyDefinition. withName(PropertyName newName)BeanPropertyDefinitionSimpleBeanPropertyDefinition. withSimpleName(String newName)
-