public interface MetadataFilter
This is a generic interface that can be used to create a subset of @MetadataElement
instances from a full set of
metadata.
Modifier and Type | Method and Description |
---|---|
MetadataCollection |
filter(AdaptrisMessage message)
Return all the metadata that matches the filter.
|
MetadataCollection |
filter(MetadataCollection original)
Return all the metadata that matches the filter.
|
MetadataCollection |
filter(java.util.Set<MetadataElement> original)
Return all the metadata that matches the filter.
|
MetadataCollection filter(AdaptrisMessage message)
message
- the AdaptrisMessage instance.MetadataCollection
instance that has been filtered.MetadataCollection filter(java.util.Set<MetadataElement> original)
original
- the original set of metadata possibly from AdaptrisMessage.getMetadata()
MetadataCollection
instance that has been filtered.MetadataCollection filter(MetadataCollection original)
original
- the original set of metadata.MetadataCollection
instance that has been filtered.