public class SerializableConverter extends AbstractReflectionConverter
AbstractReflectionConverter.DuplicateFieldExceptionmapper, reflectionProvider, serializationMethodInvoker| Constructor and Description |
|---|
SerializableConverter(Mapper mapper,
ReflectionProvider reflectionProvider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class type)
Determines whether the converter can marshall a particular type.
|
void |
doMarshal(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
protected void |
doMarshalConditionally(Object source,
HierarchicalStreamWriter writer,
MarshallingContext context) |
Object |
doUnmarshal(Object result,
HierarchicalStreamReader reader,
UnmarshallingContext context) |
protected Object |
doUnmarshalConditionally(Object result,
HierarchicalStreamReader reader,
UnmarshallingContext context) |
protected List |
hierarchyFor(Class type) |
instantiateNewInstance, marshal, marshallField, shouldUnmarshalTransientFields, unmarshal, unmarshallFieldpublic SerializableConverter(Mapper mapper, ReflectionProvider reflectionProvider)
public boolean canConvert(Class type)
ConverterMatchertype - the Class representing the object type to be convertedpublic void doMarshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context)
doMarshal in class AbstractReflectionConverterpublic Object doUnmarshal(Object result, HierarchicalStreamReader reader, UnmarshallingContext context)
doUnmarshal in class AbstractReflectionConverterprotected void doMarshalConditionally(Object source, HierarchicalStreamWriter writer, MarshallingContext context)
protected Object doUnmarshalConditionally(Object result, HierarchicalStreamReader reader, UnmarshallingContext context)
Copyright © 2021 Internet2. All rights reserved.