org.opensaml.saml2.metadata.provider
Class MetadataFilterChain

java.lang.Object
  extended by org.opensaml.saml2.metadata.provider.MetadataFilterChain
All Implemented Interfaces:
MetadataFilter

public class MetadataFilterChain
extends java.lang.Object
implements MetadataFilter

A filter that allows the composition of MetadataFilters. Filters will be executed on the given metadata document in the order they were added to the chain.


Constructor Summary
MetadataFilterChain()
          Constructor
 
Method Summary
 void doFilter(XMLObject xmlObject)
          Filters the given metadata, perhaps to remove elements that are not wanted.
 java.util.List<MetadataFilter> getFilters()
          Gets the list of MetadataFilters that make up this chain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataFilterChain

public MetadataFilterChain()
Constructor

Method Detail

doFilter

public final void doFilter(XMLObject xmlObject)
                    throws FilterException
Filters the given metadata, perhaps to remove elements that are not wanted.

Specified by:
doFilter in interface MetadataFilter
Parameters:
xmlObject - the metadata to be filtered.
Throws:
FilterException - thrown if an error occurs during the filtering process

getFilters

public java.util.List<MetadataFilter> getFilters()
Gets the list of MetadataFilters that make up this chain.

Returns:
the filters that make up this chain