public class PropertyBuilder extends Object
BeanSerializerFactory that is used to
 construct BeanPropertyWriter instances. Can be sub-classed
 to change behavior.| Modifier and Type | Field and Description | 
|---|---|
| protected AnnotationIntrospector | _annotationIntrospector | 
| protected BeanDescription | _beanDesc | 
| protected SerializationConfig | _config | 
| protected Object | _defaultBeanIf a property has serialization inclusion value of
  JsonSerialize.Inclusion.ALWAYS, we need to know the default
 value of the bean, to know if property value equals default
 one. | 
| protected JsonInclude.Include | _outputProps | 
| Constructor and Description | 
|---|
| PropertyBuilder(SerializationConfig config,
               BeanDescription beanDesc) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Object | _throwWrapped(Exception e,
             String propName,
             Object defaultBean) | 
| protected BeanPropertyWriter | buildWriter(BeanPropertyDefinition propDef,
           JavaType declaredType,
           JsonSerializer<?> ser,
           TypeSerializer typeSer,
           TypeSerializer contentTypeSer,
           AnnotatedMember am,
           boolean defaultUseStaticTyping) | 
| protected JavaType | findSerializationType(Annotated a,
                     boolean useStaticTyping,
                     JavaType declaredType)Method that will try to determine statically defined type of property
 being serialized, based on annotations (for overrides), and alternatively
 declared type (if static typing for serialization is enabled). | 
| Annotations | getClassAnnotations() | 
| protected Object | getDefaultBean() | 
| protected Object | getDefaultValue(String name,
               AnnotatedMember member) | 
protected final SerializationConfig _config
protected final BeanDescription _beanDesc
protected final JsonInclude.Include _outputProps
protected final AnnotationIntrospector _annotationIntrospector
protected Object _defaultBean
JsonSerialize.Inclusion.ALWAYS, we need to know the default
 value of the bean, to know if property value equals default
 one.public PropertyBuilder(SerializationConfig config, BeanDescription beanDesc)
public Annotations getClassAnnotations()
protected BeanPropertyWriter buildWriter(BeanPropertyDefinition propDef, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, TypeSerializer contentTypeSer, AnnotatedMember am, boolean defaultUseStaticTyping)
contentTypeSer - Optional explicit type information serializer
    to use for contained values (only used for properties that are
    of container type)protected JavaType findSerializationType(Annotated a, boolean useStaticTyping, JavaType declaredType)
protected Object getDefaultBean()
protected Object getDefaultValue(String name, AnnotatedMember member)
Copyright © 2012-2013 FasterXML. All Rights Reserved.