public class AlwaysFalsePropertySerializabilityEvaluator extends PropertySerializabilityEvaluatorBase
PropertySerializabilityEvaluator specifies that all properties of a document are serializable.serializableProperties| Constructor and Description |
|---|
AlwaysFalsePropertySerializabilityEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
void |
initializeEvaluatorForDocument(Document document)
Initializes the evaluator so that calls to
#isPropertySerializable(DocumentSerializationState, Object, String, Object) and
PropertySerializabilityEvaluator.determinePropertyType(Object) will function properly |
boolean |
isPropertySerializable(SerializationState state,
Object containingObject,
String childPropertyName,
Object childPropertyValue)
Returns whether a child property of a given containing object should be serialized, based on the metadata provided in the data dictionary.
|
determinePropertyType, evaluateCompleteMatch, evaluatePartialMatch, initializeEvaluatorForDataObject, isPrimitiveObjectpublic AlwaysFalsePropertySerializabilityEvaluator()
public void initializeEvaluatorForDocument(Document document)
PropertySerializabilityEvaluator#isPropertySerializable(DocumentSerializationState, Object, String, Object) and
PropertySerializabilityEvaluator.determinePropertyType(Object) will function properlyinitializeEvaluatorForDocument in interface PropertySerializabilityEvaluatorinitializeEvaluatorForDocument in class PropertySerializabilityEvaluatorBasedocument - the document instancepublic boolean isPropertySerializable(SerializationState state, Object containingObject, String childPropertyName, Object childPropertyValue)
PropertySerializabilityEvaluatorBaseisPropertySerializable in interface PropertySerializabilityEvaluatorisPropertySerializable in class PropertySerializabilityEvaluatorBasestate - 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, java.lang.Object, java.lang.String, java.lang.Object)Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.