org.opensaml.saml1.core.impl
Class SubjectConfirmationImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.saml1.core.impl.SubjectConfirmationImpl
All Implemented Interfaces:
SAMLObject, SubjectConfirmation, ValidatingXMLObject, XMLObject

public class SubjectConfirmationImpl
extends AbstractSAMLObject
implements SubjectConfirmation

Concrete implementation of a SubjectConfirmation object


Field Summary
private  XMLObjectChildrenList<ConfirmationMethod> confirmationMethods
          Contains the list of ConfirmationMethods
private  KeyInfo keyInfo
          Contains the KeyInfo element
private  XMLObject subjectConfirmationData
          Contains the SubjectConfirmationData element
 
Fields inherited from interface org.opensaml.saml1.core.SubjectConfirmation
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected SubjectConfirmationImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor
 
Method Summary
 List<ConfirmationMethod> getConfirmationMethods()
          Get the list with all the ConfirmationMethods.
 KeyInfo getKeyInfo()
          Gets the key information for the subject.
 List<XMLObject> getOrderedChildren()
          
 XMLObject getSubjectConfirmationData()
          Return the SubjectConfirmationData
 void setKeyInfo(KeyInfo keyInfo)
          Sets the key information for the subject.
 void setSubjectConfirmationData(XMLObject subjectConfirmationData)
          Set the SubjectConfirmationData
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, prepareForAssignment
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

confirmationMethods

private final XMLObjectChildrenList<ConfirmationMethod> confirmationMethods
Contains the list of ConfirmationMethods


subjectConfirmationData

private XMLObject subjectConfirmationData
Contains the SubjectConfirmationData element


keyInfo

private KeyInfo keyInfo
Contains the KeyInfo element

Constructor Detail

SubjectConfirmationImpl

protected SubjectConfirmationImpl(String namespaceURI,
                                  String elementLocalName,
                                  String namespacePrefix)
Constructor

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getConfirmationMethods

public List<ConfirmationMethod> getConfirmationMethods()
Get the list with all the ConfirmationMethods. This suitable for calls to add()

Specified by:
getConfirmationMethods in interface SubjectConfirmation

setSubjectConfirmationData

public void setSubjectConfirmationData(XMLObject subjectConfirmationData)
                                throws IllegalArgumentException
Set the SubjectConfirmationData

Specified by:
setSubjectConfirmationData in interface SubjectConfirmation
Throws:
IllegalArgumentException

getSubjectConfirmationData

public XMLObject getSubjectConfirmationData()
Return the SubjectConfirmationData

Specified by:
getSubjectConfirmationData in interface SubjectConfirmation

getKeyInfo

public KeyInfo getKeyInfo()
Gets the key information for the subject.

Specified by:
getKeyInfo in interface SubjectConfirmation
Returns:
the key information for the subject

setKeyInfo

public void setKeyInfo(KeyInfo keyInfo)
Sets the key information for the subject.

Specified by:
setKeyInfo in interface SubjectConfirmation
Parameters:
keyInfo - the key information for the subject

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2012. All Rights Reserved.