public interface PropertyFilter
Validator
,
ConstrainedMap
,
ValidationContext
Modifier and Type | Interface and Description |
---|---|
static class |
PropertyFilter.And
This class provides
PropertyFilter implementation that is
conjunction of another property filters. |
static class |
PropertyFilter.NameEndsWith
This class provides
PropertyFilter implementation that
accepts only properties which names ends with a particular suffix. |
static class |
PropertyFilter.NameSet
This class provides
PropertyFilter implementation that
accepts only properties with particular names. |
static class |
PropertyFilter.NameStartsWith
This class provides
PropertyFilter implementation that
accepts only properties which names starts with a particular prefix. |
static class |
PropertyFilter.Not
This class provides
PropertyFilter implementation that is
negation of another filter. |
static class |
PropertyFilter.Or
This class provides
PropertyFilter implementation that is
disjunction of another property filters. |
Modifier and Type | Field and Description |
---|---|
static PropertyFilter |
ALL
Default
PropertyFilter that accepts any property. |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(PropertyMetaData<?,?> metadata)
Determines if the specified property should be accepted.
|
static final PropertyFilter ALL
PropertyFilter
that accepts any property.boolean accept(PropertyMetaData<?,?> metadata)
metadata
- Property metadata descriptor.true
if the specified property should be accepted;
false
otherwise.Copyright © 2011–2020 FoxLabs. All rights reserved.