public class MetadataFilterChain extends Object implements MetadataFilter
MetadataFilters. Filters will be executed on the given metadata
document in the order they were added to the chain.| Modifier and Type | Field and Description |
|---|---|
private List<MetadataFilter> |
filters
Registered filters.
|
private Logger |
log
Class logger.
|
| Constructor and Description |
|---|
MetadataFilterChain()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.opensaml.core.xml.XMLObject |
filter(org.opensaml.core.xml.XMLObject xmlObject)
Filters the given metadata, perhaps to remove elements that are not wanted.
|
List<MetadataFilter> |
getFilters()
Get the list of
MetadataFilters that make up this chain. |
void |
setFilters(List<MetadataFilter> newFilters)
Set the list of
MetadataFilters that make up this chain. |
@Nonnull @NonnullElements private List<MetadataFilter> filters
@Nullable public final org.opensaml.core.xml.XMLObject filter(@Nullable org.opensaml.core.xml.XMLObject xmlObject) throws FilterException
filter in interface MetadataFilterxmlObject - the metadata to be filtered.FilterException - thrown if an error occurs during the filtering process@Nonnull @NonnullElements @Live public List<MetadataFilter> getFilters()
MetadataFilters that make up this chain.public void setFilters(@Nonnull@NonnullElements List<MetadataFilter> newFilters)
MetadataFilters that make up this chain.newFilters - list of MetadataFilters that make up this chainCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.