org.opensaml.saml1.core.impl
Class SubjectImpl

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.SubjectImpl
All Implemented Interfaces:
SAMLObject, Subject, ValidatingXMLObject, XMLObject

public class SubjectImpl
extends AbstractSAMLObject
implements Subject

Complete implementation of Subject


Field Summary
private  NameIdentifier nameIdentifier
          Contains the NameIdentifier inside the Subject
private  SubjectConfirmation subjectConfirmation
          Contains the SubjectConfirmation inside the Subject
 
Fields inherited from interface org.opensaml.saml1.core.Subject
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected SubjectImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor
 
Method Summary
 NameIdentifier getNameIdentifier()
          Gets the NameIdentifier of this Subject
 List<XMLObject> getOrderedChildren()
          
 SubjectConfirmation getSubjectConfirmation()
          Gets the SubjectConfirmation of this Subject
 void setNameIdentifier(NameIdentifier nameIdentifier)
          Sets the NameIdentifier of this Subject
 void setSubjectConfirmation(SubjectConfirmation subjectConfirmation)
          Sets the SubjectConfirmation of this Subject
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, hashCode, 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, 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

nameIdentifier

private NameIdentifier nameIdentifier
Contains the NameIdentifier inside the Subject


subjectConfirmation

private SubjectConfirmation subjectConfirmation
Contains the SubjectConfirmation inside the Subject

Constructor Detail

SubjectImpl

protected SubjectImpl(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

getNameIdentifier

public NameIdentifier getNameIdentifier()
Gets the NameIdentifier of this Subject

Specified by:
getNameIdentifier in interface Subject

setNameIdentifier

public void setNameIdentifier(NameIdentifier nameIdentifier)
                       throws IllegalArgumentException
Sets the NameIdentifier of this Subject

Specified by:
setNameIdentifier in interface Subject
Throws:
IllegalArgumentException

getSubjectConfirmation

public SubjectConfirmation getSubjectConfirmation()
Gets the SubjectConfirmation of this Subject

Specified by:
getSubjectConfirmation in interface Subject

setSubjectConfirmation

public void setSubjectConfirmation(SubjectConfirmation subjectConfirmation)
                            throws IllegalArgumentException
Sets the SubjectConfirmation of this Subject

Specified by:
setSubjectConfirmation in interface Subject
Throws:
IllegalArgumentException

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.