Class ResponseAbstractTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.AbstractSignableXMLObject
org.opensaml.saml.common.AbstractSignableSAMLObject
org.opensaml.saml.saml1.core.impl.ResponseAbstractTypeImpl
- All Implemented Interfaces:
XMLObject
,SAMLObject
,SignableSAMLObject
,ResponseAbstractType
,SignableXMLObject
- Direct Known Subclasses:
ResponseImpl
public abstract class ResponseAbstractTypeImpl
extends AbstractSignableSAMLObject
implements ResponseAbstractType
Abstract implementation of
ResponseAbstractType
Object.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
Contains the ID.private String
Contents of the InResponseTo attribute.private Instant
Contents of the IssueInstant attribute.private String
Contents of the Recipient attribute.private SAMLVersion
Message version.Fields inherited from interface org.opensaml.saml.saml1.core.ResponseAbstractType
ID_ATTRIB_NAME, INRESPONSETO_ATTRIB_NAME, ISSUEINSTANT_ATTRIB_NAME, ISSUEINSTANT_ATTRIB_QNAME, MAJORVERSION_ATTRIB_NAME, MINORVERSION_ATTRIB_NAME, RECIPIENT_ATTRIB_NAME
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ResponseAbstractTypeImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetID()
Get the ID.Return the InResponseTo (attribute).Return the Issue Instant (attribute).Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Return the Recipient (attribute).Gets the value of the ID attribute for this SAML object which will be used as its signature reference.Sets the SAML version for this message.void
Set the ID.void
Set the InResponseTo (attribute).void
setIssueInstant
(Instant date) Set the Issue Instant (attribute).void
setRecipient
(String recip) Set the Recipient (attribute).void
setVersion
(SAMLVersion newVersion) Sets the SAML version for this message.Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignature
Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSigned
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, 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.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignature
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
id
Contains the ID. -
version
Message version. -
inResponseTo
Contents of the InResponseTo attribute. -
issueInstant
Contents of the IssueInstant attribute. -
recipient
Contents of the Recipient attribute.
-
-
Constructor Details
-
ResponseAbstractTypeImpl
protected ResponseAbstractTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor.- Parameters:
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace
-
-
Method Details
-
getID
Get the ID.- Specified by:
getID
in interfaceResponseAbstractType
- Returns:
- the ID
-
setID
Set the ID.- Specified by:
setID
in interfaceResponseAbstractType
- Parameters:
newID
- what to set
-
getInResponseTo
Return the InResponseTo (attribute).- Specified by:
getInResponseTo
in interfaceResponseAbstractType
- Returns:
- the InResponseTo (attribute).
-
setInResponseTo
Set the InResponseTo (attribute).- Specified by:
setInResponseTo
in interfaceResponseAbstractType
- Parameters:
to
- what to set
-
getVersion
Sets the SAML version for this message.- Specified by:
getVersion
in interfaceResponseAbstractType
- Returns:
- SAML version for this message
-
setVersion
Sets the SAML version for this message.- Specified by:
setVersion
in interfaceResponseAbstractType
- Parameters:
newVersion
- the SAML version for this message
-
getIssueInstant
Return the Issue Instant (attribute).- Specified by:
getIssueInstant
in interfaceResponseAbstractType
- Returns:
- the IssueInstant
-
setIssueInstant
Set the Issue Instant (attribute). *- Specified by:
setIssueInstant
in interfaceResponseAbstractType
- Parameters:
date
- what to set
-
getRecipient
Return the Recipient (attribute). .- Specified by:
getRecipient
in interfaceResponseAbstractType
- Returns:
- the Recipient
-
setRecipient
Set the Recipient (attribute). *- Specified by:
setRecipient
in interfaceResponseAbstractType
- Parameters:
recip
- what to set
-
getSignatureReferenceID
Gets the value of the ID attribute for this SAML object which will be used as its signature reference.- Specified by:
getSignatureReferenceID
in interfaceSignableSAMLObject
- Returns:
- the value of this SAMLObject ID attribute
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-