public class DataObjectSerializerServiceImpl extends SerializerServiceBase implements BusinessObjectSerializerService
SerializerServiceBase.AutoPopulatingListConverter, SerializerServiceBase.ProxyAndStateAwareJavaReflectionProvider, SerializerServiceBase.ProxyConverter
evaluators, legacyDataAdapter, serializationStates, xmlObjectSerializerService, xstream
Constructor and Description |
---|
DataObjectSerializerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
PropertySerializabilityEvaluator |
getPropertySerizabilityEvaluator(Object businessObject)
Get the appropriate
PropertySerializabilityEvaluator for the given dataObject. |
protected boolean |
ignoreField(Field field)
Examines
Serialized and Transient annotations to determine if the field should not be serialized. |
createNewDocumentSerializationState, getXmlObjectSerializerService, serializeBusinessObjectToXml, setLegacyDataAdapter, setXmlObjectSerializerService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
serializeBusinessObjectToXml
public DataObjectSerializerServiceImpl()
public PropertySerializabilityEvaluator getPropertySerizabilityEvaluator(Object businessObject)
PropertySerializabilityEvaluator
for the given dataObject.getPropertySerizabilityEvaluator
in class SerializerServiceBase
businessObject
- the data objectprotected boolean ignoreField(Field field)
Serialized
and Transient
annotations to determine if the field should not be serialized.
Method called by the ProxyAndStateAwareJavaReflectionProvider during serialization to determine if a field should be omitted from the serialized form.
This is a short circuit check that will avoid more expensive calls in to the PropertySerializabilityEvaluator if it returns true.
ignoreField
in class SerializerServiceBase
field
- the fieldCopyright © 2005–2016 The Kuali Foundation. All rights reserved.