public abstract class PropertyAccessor extends BeanProperty implements Comparable<PropertyAccessor>
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertyAccessor.FieldAccessor |
static class |
PropertyAccessor.MethodAccessor |
annotations, declaringClass, name, type| Modifier | Constructor and Description |
|---|---|
protected |
PropertyAccessor(String name,
Type type,
Class<?> declaringClass,
Annotation[] annotations) |
| 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) |
getAnnotation, getDeclaringClass, getName, getRawClass, getTypeprotected PropertyAccessor(String name, Type type, Class<?> declaringClass, Annotation[] annotations)
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 © 2014. All Rights Reserved.