class ChildFilter extends java.lang.Object implements IndexedFilter
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
requiredPrefix |
private java.lang.String |
requiredSuffix |
private java.lang.String |
requiredType |
Constructor and Description |
---|
ChildFilter(java.lang.reflect.Type type,
java.lang.String prefix) |
ChildFilter(java.lang.reflect.Type type,
java.lang.String prefix,
java.lang.String suffix) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdvertisedContract()
If this returns non-null then this index will
be used to limit the set of Descriptors that
will be passed to the matches method.
|
java.lang.String |
getName()
If this returns non-null then this name will
be used to limit the set of Descriptors that
will be passed to the matches method.
|
boolean |
matches(Descriptor d)
Returns true if this filter matches the
given object
|
private final java.lang.String requiredType
private final java.lang.String requiredPrefix
private final java.lang.String requiredSuffix
ChildFilter(java.lang.reflect.Type type, java.lang.String prefix, java.lang.String suffix)
ChildFilter(java.lang.reflect.Type type, java.lang.String prefix)
public boolean matches(Descriptor d)
Filter
public java.lang.String getAdvertisedContract()
IndexedFilter
getAdvertisedContract
in interface IndexedFilter
public java.lang.String getName()
IndexedFilter
getName
in interface IndexedFilter