org.opensaml.saml2.core.impl
Class AuthnContextBuilder

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObjectBuilder<SAMLObjectType>
      extended by org.opensaml.common.impl.AbstractSAMLObjectBuilder<AuthnContext>
          extended by org.opensaml.saml2.core.impl.AuthnContextBuilder
All Implemented Interfaces:
SAMLObjectBuilder<AuthnContext>, XMLObjectBuilder<AuthnContext>

public class AuthnContextBuilder
extends AbstractSAMLObjectBuilder<AuthnContext>

Builder for AuthnContextImpl objects.


Constructor Summary
AuthnContextBuilder()
          Constructor
 
Method Summary
 AuthnContext buildObject()
          Builds a SAMLObject using the default name and namespace information provided SAML specifications.
 AuthnContext buildObject(java.lang.String namespaceURI, java.lang.String localName, java.lang.String namespacePrefix)
          Creates an XMLObject with a given fully qualified name.
 
Methods inherited from class org.opensaml.xml.AbstractXMLObjectBuilder
buildObject, buildObject, buildObject, buildObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.XMLObjectBuilder
buildObject, buildObject, buildObject, buildObject
 

Constructor Detail

AuthnContextBuilder

public AuthnContextBuilder()
Constructor

Method Detail

buildObject

public AuthnContext buildObject()
Builds a SAMLObject using the default name and namespace information provided SAML specifications.

Specified by:
buildObject in interface SAMLObjectBuilder<AuthnContext>
Specified by:
buildObject in class AbstractSAMLObjectBuilder<AuthnContext>
Returns:
built SAMLObject

buildObject

public AuthnContext buildObject(java.lang.String namespaceURI,
                                java.lang.String localName,
                                java.lang.String namespacePrefix)
Creates an XMLObject with a given fully qualified name.

Specified by:
buildObject in interface XMLObjectBuilder<AuthnContext>
Specified by:
buildObject in class AbstractXMLObjectBuilder<AuthnContext>
Parameters:
namespaceURI - the URI of the namespace the Element represented by this XMLObject will be in
localName - the local name of the Element represented by this XMLObject
namespacePrefix - the namespace prefix of the Element represented by this XMLObject
Returns:
the constructed XMLObject