org.opensaml.saml2.metadata.provider
Class SchemaValidationFilter

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

public class SchemaValidationFilter
extends Object
implements MetadataFilter

A metadata filter that schema validates an incoming metadata file.


Constructor Summary
SchemaValidationFilter(String[] extensionSchemas)
          Constructor.
 
Method Summary
 void doFilter(org.opensaml.xml.XMLObject metadata)
          Filters the given metadata, perhaps to remove elements that are not wanted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaValidationFilter

public SchemaValidationFilter(String[] extensionSchemas)
Constructor.

Parameters:
extensionSchemas - classpath location of metadata extension schemas, may be null
Method Detail

doFilter

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

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


Copyright © 2006-2013 Internet2. All Rights Reserved.