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.Modifier and Type | Field and Description |
---|---|
private List<MetadataFilter> |
filters
Registered filters.
|
private org.slf4j.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
MetadataFilter s that make up this chain. |
void |
setFilters(List<MetadataFilter> newFilters)
Set the list of
MetadataFilter s that make up this chain. |
@Nonnull private org.slf4j.Logger log
@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 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 © 1999–2020 Shibboleth Consortium. All rights reserved.