public abstract class PropertySuppressionStrategy extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PropertySuppressionStrategy.Chain
Implementation delegates to a list of strategies
|
static class |
PropertySuppressionStrategy.Default
Default implementation.
|
Modifier and Type | Field and Description |
---|---|
static PropertySuppressionStrategy |
DEFAULT
Default implementation suppresses the class property
found on every object.
|
Constructor and Description |
---|
PropertySuppressionStrategy() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
suppressProperty(Class classContainingTheProperty,
Class propertyType,
String propertyName)
Should the given property be suppressed?
|
public static final PropertySuppressionStrategy DEFAULT
isEmpty
property is supressed for implementations of Collection
.public abstract boolean suppressProperty(Class classContainingTheProperty, Class propertyType, String propertyName)
classContainingTheProperty
- Class
giving the type of the bean containing the property propertyName
propertyType
- Class
giving the type of the property, not nullpropertyName
- the name of the property, not nullCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.