Package com.adaptris.core.metadata
Interface MetadataFilter
-
- All Known Implementing Classes:
CompositeMetadataFilter,DiscardEmptyValuesFilter,DiscardValuesTooLongFilter,ExcludeJmsHeaders,FixedValuesMetadataFilter,MappedKeyMetadataFilter,MetadataFilterImpl,NoOpMetadataFilter,OrderedItemMetadataFilter,PasswordDecodeMetadataFilter,PasswordEncodeMetadataFilter,PasswordMetadataFilter,RegexMetadataFilter,RemoveAllMetadataFilter
public interface MetadataFilterInterface for finding matching metadata on a AdaptrisMessage.This is a generic interface that can be used to create a subset of @
MetadataElementinstances from a full set of metadata.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetadataCollectionfilter(AdaptrisMessage message)Return all the metadata that matches the filter.MetadataCollectionfilter(MetadataCollection original)Return all the metadata that matches the filter.MetadataCollectionfilter(java.util.Set<MetadataElement> original)Return all the metadata that matches the filter.
-
-
-
Method Detail
-
filter
MetadataCollection filter(AdaptrisMessage message)
Return all the metadata that matches the filter.- Parameters:
message- the AdaptrisMessage instance.- Returns:
- a
MetadataCollectioninstance that has been filtered.
-
filter
MetadataCollection filter(java.util.Set<MetadataElement> original)
Return all the metadata that matches the filter.- Parameters:
original- the original set of metadata possibly fromAdaptrisMessage.getMetadata()- Returns:
- a
MetadataCollectioninstance that has been filtered.
-
filter
MetadataCollection filter(MetadataCollection original)
Return all the metadata that matches the filter.- Parameters:
original- the original set of metadata.- Returns:
- a
MetadataCollectioninstance that has been filtered.
-
-