Interface PropertySerializabilityEvaluator
- All Known Implementing Classes:
AlwaysFalsePropertySerializabilityEvaluator,AlwaysTruePropertySerializibilityEvaluator,BusinessObjectPropertySerializibilityEvaluator,MetadataPropertySerializabilityEvaluator,PropertySerializabilityEvaluatorBase
public interface PropertySerializabilityEvaluator
Specifies an implementation used during document workflow XML serialization that
will be able to determine whether a specific property is serializable
-
Method Summary
Modifier and TypeMethodDescriptiondeterminePropertyType(Object object) Determines the type of a objectvoidinitializeEvaluatorForDataObject(Object businessObject) voidinitializeEvaluatorForDocument(Document document) Initializes the evaluator so that calls toisPropertySerializable(SerializationState, Object, String, Object)anddeterminePropertyType(Object)will function properlybooleanisPropertySerializable(SerializationState state, Object containingObject, String childPropertyName, Object childPropertyValue) Determines whether a child property of an object is serializable.
-
Method Details
-
initializeEvaluatorForDocument
Initializes the evaluator so that calls toisPropertySerializable(SerializationState, Object, String, Object)anddeterminePropertyType(Object)will function properly- Parameters:
document- the document instance
-
initializeEvaluatorForDataObject
-
isPropertySerializable
boolean isPropertySerializable(SerializationState state, Object containingObject, String childPropertyName, Object childPropertyValue) Determines whether a child property of an object is serializable.- Parameters:
state- Information about the properties that have been serialized so farcontainingObject- The object containing the reference to childPropertyValuechildPropertyName- The name property to determine whether to serialize, relative to containingObject (i.e. not a nested attribute)childPropertyValue- If serializable, this property would be serialized by the serializer service.- Returns:
-
determinePropertyType
Determines the type of a object- Parameters:
object-- Returns:
-