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 MetadataFilter
Interface for finding matching metadata on a AdaptrisMessage.This is a generic interface that can be used to create a subset of @
MetadataElement
instances from a full set of metadata.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
filter
MetadataCollection filter(AdaptrisMessage message)
Return all the metadata that matches the filter.- Parameters:
message
- the AdaptrisMessage instance.- Returns:
- a
MetadataCollection
instance 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
MetadataCollection
instance 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
MetadataCollection
instance that has been filtered.
-
-