org.opensaml
Class SAMLBrowserProfileFactory

java.lang.Object
  extended by org.opensaml.SAMLBrowserProfileFactory

public class SAMLBrowserProfileFactory
extends Object

Factory for the SAMLBrowserProfile interface

Author:
Scott Cantor

Constructor Summary
SAMLBrowserProfileFactory()
           
 
Method Summary
static SAMLBrowserProfile getInstance()
          Obtains a default provider of the SAMLBrowserProfile interface
static SAMLBrowserProfile getInstance(Element e)
          Obtains a default provider of the SAMLBrowserProfile interface
static SAMLBrowserProfile getInstance(Element e, String provider)
          Obtains a specific provider of the SAMLBrowserProfile interface
static SAMLBrowserProfile getInstance(String provider)
          Obtains a specific provider of the SAMLBrowserProfile interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLBrowserProfileFactory

public SAMLBrowserProfileFactory()
Method Detail

getInstance

public static SAMLBrowserProfile getInstance()
                                      throws NoSuchProviderException
Obtains a default provider of the SAMLBrowserProfile interface

Returns:
The SAMLBrowserProfile provider
Throws:
NoSuchProviderException - Raised if an error occurs while obtaining an instance of the interface

getInstance

public static SAMLBrowserProfile getInstance(String provider)
                                      throws NoSuchProviderException
Obtains a specific provider of the SAMLBrowserProfile interface

Parameters:
provider - Name of the provider class to build
Returns:
The SAMLBrowserProfile provider
Throws:
NoSuchProviderException - Raised if an error occurs while obtaining an instance of the interface

getInstance

public static SAMLBrowserProfile getInstance(Element e)
                                      throws NoSuchProviderException
Obtains a default provider of the SAMLBrowserProfile interface

Parameters:
e - A DOM element as input to configuring the provider
Returns:
The SAMLBrowserProfile provider
Throws:
NoSuchProviderException - Raised if an error occurs while obtaining an instance of the interface

getInstance

public static SAMLBrowserProfile getInstance(Element e,
                                             String provider)
                                      throws NoSuchProviderException
Obtains a specific provider of the SAMLBrowserProfile interface

Parameters:
e - A DOM element as input to configuring the provider
provider - Name of the provider class to build
Returns:
The SAMLBrowserProfile provider
Throws:
NoSuchProviderException - Raised if an error occurs while obtaining an instance of the interface


Copyright ? 2005 UCAID. All Rights Reserved.