org.opensaml.saml2.core.impl
Class SubjectConfirmationDataImpl

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.saml2.core.impl.SubjectConfirmationDataImpl
All Implemented Interfaces:
SAMLObject, SubjectConfirmationData, org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.ElementExtensibleXMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject
Direct Known Subclasses:
KeyInfoConfirmationDataTypeImpl

public class SubjectConfirmationDataImpl
extends AbstractSAMLObject
implements SubjectConfirmationData

Concrete implementation of SubjectConfirmationData.


Field Summary
 
Fields inherited from interface org.opensaml.saml2.core.SubjectConfirmationData
ADDRESS_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, IN_RESPONSE_TO_ATTRIB_NAME, NOT_BEFORE_ATTRIB_NAME, NOT_ON_OR_AFTER_ATTRIB_NAME, RECIPIENT_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected SubjectConfirmationDataImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 String getAddress()
          Gets the IP address to which this information may be pressented.
 String getInResponseTo()
          Gets the message ID this is in response to.
 org.joda.time.DateTime getNotBefore()
          Gets the time before which this subject is not valid.
 org.joda.time.DateTime getNotOnOrAfter()
          Gets the time at, or after, which this subject is not valid.
 List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 String getRecipient()
          Gets the recipient of this subject.
 org.opensaml.xml.util.AttributeMap getUnknownAttributes()
          
 List<org.opensaml.xml.XMLObject> getUnknownXMLObjects()
          
 List<org.opensaml.xml.XMLObject> getUnknownXMLObjects(QName typeOrName)
          
 void setAddress(String newAddress)
          Sets the IP address to which this information may be pressented.
 void setInResponseTo(String newInResponseTo)
          Sets the message ID this is in response to.
 void setNotBefore(org.joda.time.DateTime newNotBefore)
          Sets the time before which this subject is not valid.
 void setNotOnOrAfter(org.joda.time.DateTime newNotOnOrAfter)
          Sets the time at, or after, which this subject is not valid.
 void setRecipient(String newRecipient)
          Sets the recipient of this subject.
 
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
 

Constructor Detail

SubjectConfirmationDataImpl

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

getNotBefore

public org.joda.time.DateTime getNotBefore()
Gets the time before which this subject is not valid.

Specified by:
getNotBefore in interface SubjectConfirmationData
Returns:
the time before which this subject is not valid

setNotBefore

public void setNotBefore(org.joda.time.DateTime newNotBefore)
Sets the time before which this subject is not valid.

Specified by:
setNotBefore in interface SubjectConfirmationData
Parameters:
newNotBefore - the time before which this subject is not valid

getNotOnOrAfter

public org.joda.time.DateTime getNotOnOrAfter()
Gets the time at, or after, which this subject is not valid.

Specified by:
getNotOnOrAfter in interface SubjectConfirmationData
Returns:
the time at, or after, which this subject is not valid

setNotOnOrAfter

public void setNotOnOrAfter(org.joda.time.DateTime newNotOnOrAfter)
Sets the time at, or after, which this subject is not valid.

Specified by:
setNotOnOrAfter in interface SubjectConfirmationData
Parameters:
newNotOnOrAfter - the time at, or after, which this subject is not valid

getRecipient

public String getRecipient()
Gets the recipient of this subject.

Specified by:
getRecipient in interface SubjectConfirmationData
Returns:
the recipient of this subject

setRecipient

public void setRecipient(String newRecipient)
Sets the recipient of this subject.

Specified by:
setRecipient in interface SubjectConfirmationData
Parameters:
newRecipient - the recipient of this subject

getInResponseTo

public String getInResponseTo()
Gets the message ID this is in response to.

Specified by:
getInResponseTo in interface SubjectConfirmationData
Returns:
the message ID this is in response to

setInResponseTo

public void setInResponseTo(String newInResponseTo)
Sets the message ID this is in response to.

Specified by:
setInResponseTo in interface SubjectConfirmationData
Parameters:
newInResponseTo - the message ID this is in response to

getAddress

public String getAddress()
Gets the IP address to which this information may be pressented.

Specified by:
getAddress in interface SubjectConfirmationData
Returns:
the IP address to which this information may be pressented

setAddress

public void setAddress(String newAddress)
Sets the IP address to which this information may be pressented.

Specified by:
setAddress in interface SubjectConfirmationData
Parameters:
newAddress - the IP address to which this information may be pressented

getUnknownAttributes

public org.opensaml.xml.util.AttributeMap getUnknownAttributes()

Specified by:
getUnknownAttributes in interface org.opensaml.xml.AttributeExtensibleXMLObject

getUnknownXMLObjects

public List<org.opensaml.xml.XMLObject> getUnknownXMLObjects()

Specified by:
getUnknownXMLObjects in interface org.opensaml.xml.ElementExtensibleXMLObject

getUnknownXMLObjects

public List<org.opensaml.xml.XMLObject> getUnknownXMLObjects(QName typeOrName)

Specified by:
getUnknownXMLObjects in interface org.opensaml.xml.ElementExtensibleXMLObject

getOrderedChildren

public List<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject


Copyright © 2006-2013 Internet2. All Rights Reserved.