public class MetadataFilterChain extends Object implements MetadataFilter
MetadataFilter
s. Filters will be executed on the given metadata
document in the order they were added to the chain.Constructor and Description |
---|
MetadataFilterChain()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
XMLObject |
filter(XMLObject xmlObject)
Filters the given metadata, perhaps to remove elements that are not wanted.
|
List<MetadataFilter> |
getFilters()
Get the list of
MetadataFilter s that make up this chain. |
void |
setFilters(List<MetadataFilter> newFilters)
Set the list of
MetadataFilter s that make up this chain. |
@Nullable public final XMLObject filter(@Nullable XMLObject xmlObject) throws FilterException
filter
in interface MetadataFilter
xmlObject
- the metadata to be filtered.FilterException
- thrown if an error occurs during the filtering process@Nonnull @NonnullElements @Live public List<MetadataFilter> getFilters()
MetadataFilter
s that make up this chain.public void setFilters(@Nonnull @NonnullElements List<MetadataFilter> newFilters)
MetadataFilter
s that make up this chain.newFilters
- list of MetadataFilter
s that make up this chainCopyright © 2016. All rights reserved.