public class BeanBinding extends NotNullDeserializeBinding
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class<?> |
myBeanClass |
protected NestedBinding[] |
myBindings |
Constructor and Description |
---|
BeanBinding(java.lang.Class<?> beanClass) |
Modifier and Type | Method and Description |
---|---|
static void |
clearSerializationCaches() |
<any> |
computeBindingWeights(java.util.LinkedHashSet<java.lang.String> accessorNameTracker) |
java.lang.Object |
deserialize(java.lang.Object context,
Element element) |
void |
deserializeInto(java.lang.Object result,
Element element) |
void |
deserializeInto(java.lang.Object result,
Element element,
java.util.Set<? super java.lang.String> accessorNameTracker) |
static java.util.List<MutableAccessor> |
getAccessors(java.lang.Class<?> aClass) |
void |
init(java.lang.reflect.Type originalType,
Serializer serializer) |
boolean |
isBoundTo(Element element) |
protected java.lang.Object |
newInstance() |
Element |
serialize(java.lang.Object object,
boolean createElementIfEmpty,
SerializationFilter filter) |
java.lang.Object |
serialize(java.lang.Object o,
java.lang.Object context,
SerializationFilter filter) |
Element |
serializeInto(java.lang.Object o,
Element element,
SerializationFilter filter) |
protected Element |
serializePropertyInto(NestedBinding binding,
java.lang.Object o,
Element element,
SerializationFilter filter,
boolean isFilterPropertyItself) |
void |
sortBindings(<any> weights) |
java.lang.String |
toString() |
deserializeUnsafe
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addContent, deserializeList
protected NestedBinding[] myBindings
protected final java.lang.Class<?> myBeanClass
public final void init(java.lang.reflect.Type originalType, Serializer serializer)
public final java.lang.Object serialize(java.lang.Object o, java.lang.Object context, SerializationFilter filter)
public final Element serialize(java.lang.Object object, boolean createElementIfEmpty, SerializationFilter filter)
public Element serializeInto(java.lang.Object o, Element element, SerializationFilter filter)
protected final Element serializePropertyInto(NestedBinding binding, java.lang.Object o, Element element, SerializationFilter filter, boolean isFilterPropertyItself)
public final java.lang.Object deserialize(java.lang.Object context, Element element)
deserialize
in class NotNullDeserializeBinding
protected java.lang.Object newInstance()
public final <any> computeBindingWeights(java.util.LinkedHashSet<java.lang.String> accessorNameTracker)
public final void sortBindings(<any> weights)
public final void deserializeInto(java.lang.Object result, Element element)
public final void deserializeInto(java.lang.Object result, Element element, java.util.Set<? super java.lang.String> accessorNameTracker)
public final boolean isBoundTo(Element element)
public static java.util.List<MutableAccessor> getAccessors(java.lang.Class<?> aClass)
public java.lang.String toString()
toString
in class java.lang.Object
public static void clearSerializationCaches()