@Indexed(value=PropertyFilter.class) public interface PropertyFilter
Named annotation to specify a name for the property filter.| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldInclude(Serializer.EncoderContext encoderContext,
Serializer<java.lang.Object> propertySerializer,
java.lang.Object bean,
java.lang.String propertyName,
java.lang.Object propertyValue) |
boolean shouldInclude(@NonNull
Serializer.EncoderContext encoderContext,
@NonNull
Serializer<java.lang.Object> propertySerializer,
@NonNull
java.lang.Object bean,
@NonNull
java.lang.String propertyName,
@Nullable
java.lang.Object propertyValue)
encoderContext - the encoder contextpropertySerializer - the serializer of the propertybean - the object being serializedpropertyName - the name of the propertypropertyValue - the property being serialized