public abstract class PropertyAccessor extends BeanProperty implements Comparable<PropertyAccessor>
Modifier and Type | Class and Description |
---|---|
static class |
PropertyAccessor.FieldAccessor |
static class |
PropertyAccessor.MethodAccessor |
annotations, concreteClass, declaringClass, modifiers, name, type
Modifier | Constructor and Description |
---|---|
protected |
PropertyAccessor(String name,
Type type,
Class<?> declaringClass,
Class<?> concreteClass,
Annotation[] annotations,
int modifiers) |
Modifier and Type | Method and Description |
---|---|
abstract Object |
access(Object target) |
int |
compareTo(PropertyAccessor o) |
protected JsonBindingException |
couldNotAccess(Exception e) |
protected JsonBindingException |
couldNotSerialize(Throwable e) |
void |
serialize(Object propertySource,
ObjectWriter writer,
Context ctx) |
aliases, getAnnotation, getConcreteClass, getDeclaringClass, getModifiers, getName, getRawClass, getType
protected PropertyAccessor(String name, Type type, Class<?> declaringClass, Class<?> concreteClass, Annotation[] annotations, int modifiers)
public void serialize(Object propertySource, ObjectWriter writer, Context ctx)
public int compareTo(PropertyAccessor o)
compareTo
in interface Comparable<PropertyAccessor>
protected JsonBindingException couldNotAccess(Exception e)
protected JsonBindingException couldNotSerialize(Throwable e)
Copyright © 2019. All rights reserved.