public class AlwaysTruePropertySerializibilityEvaluator extends PropertySerializabilityEvaluatorBase implements PropertySerializabilityEvaluator
PropertySerializabilityEvaluator
specifies that all properties of a document are serializable.serializableProperties
Constructor and Description |
---|
AlwaysTruePropertySerializibilityEvaluator() |
Modifier and Type | Method and Description |
---|---|
void |
initializeEvaluatorForDocument(Document document)
Does nothing, since we know everything's serializable
|
boolean |
isPropertySerializable(SerializationState state,
Object containingObject,
String childPropertyName,
Object childPropertyValue)
Trivially returns true
|
determinePropertyType, evaluateCompleteMatch, evaluatePartialMatch, initializeEvaluatorForDataObject, isPrimitiveObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
determinePropertyType, initializeEvaluatorForDataObject
public AlwaysTruePropertySerializibilityEvaluator()
public void initializeEvaluatorForDocument(Document document)
initializeEvaluatorForDocument
in interface PropertySerializabilityEvaluator
initializeEvaluatorForDocument
in class PropertySerializabilityEvaluatorBase
document
- the document instancepublic boolean isPropertySerializable(SerializationState state, Object containingObject, String childPropertyName, Object childPropertyValue)
isPropertySerializable
in interface PropertySerializabilityEvaluator
isPropertySerializable
in class PropertySerializabilityEvaluatorBase
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.org.kuali.rice.krad.util.documentserializer.PropertySerializabilityEvaluator#isPropertySerializable(org.kuali.rice.krad.util.documentserializer.DocumentSerializationState, Object, java.lang.String, java.lang.Object)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.