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, AttributeExtensibleXMLObject, ElementExtensibleXMLObject, ValidatingXMLObject, XMLObject
Direct Known Subclasses:
KeyInfoConfirmationDataTypeImpl

public class SubjectConfirmationDataImpl
extends AbstractSAMLObject
implements SubjectConfirmationData

Concrete implementation of SubjectConfirmationData.


Field Summary
private  String address
          Address of the Confirmation Data.
private  String inResponseTo
          InResponseTo of the Confirmation Data.
private  org.joda.time.DateTime notBefore
          NotBefore of the Confirmation Data.
private  org.joda.time.DateTime notOnOrAfter
          NotOnOrAfter of the Confirmation Data.
private  String recipient
          Recipient of the Confirmation Data.
private  AttributeMap unknownAttributes
          "anyAttribute" attributes.
private  IndexedXMLObjectChildrenList<XMLObject> unknownChildren
          "any" children.
 
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<XMLObject> getOrderedChildren()
          
 String getRecipient()
          Gets the recipient of this subject.
 AttributeMap getUnknownAttributes()
          
 List<XMLObject> getUnknownXMLObjects()
          
 List<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, 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

notBefore

private org.joda.time.DateTime notBefore
NotBefore of the Confirmation Data.


notOnOrAfter

private org.joda.time.DateTime notOnOrAfter
NotOnOrAfter of the Confirmation Data.


recipient

private String recipient
Recipient of the Confirmation Data.


inResponseTo

private String inResponseTo
InResponseTo of the Confirmation Data.


address

private String address
Address of the Confirmation Data.


unknownAttributes

private final AttributeMap unknownAttributes
"anyAttribute" attributes.


unknownChildren

private final IndexedXMLObjectChildrenList<XMLObject> unknownChildren
"any" children.

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 AttributeMap getUnknownAttributes()

Specified by:
getUnknownAttributes in interface AttributeExtensibleXMLObject

getUnknownXMLObjects

public List<XMLObject> getUnknownXMLObjects()

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject

getUnknownXMLObjects

public List<XMLObject> getUnknownXMLObjects(QName typeOrName)

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.