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 StringContains the ID.private StringContents of the InResponseTo attribute.private InstantContents of the IssueInstant attribute.private StringContents of the Recipient attribute.private SAMLVersionMessage 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
ConstructorsModifierConstructorDescriptionprotectedResponseAbstractTypeImpl(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.Gets the SAML version for this message.voidSet the ID.voidSet the InResponseTo (attribute).voidsetIssueInstant(Instant date) Set the Issue Instant (attribute).voidsetRecipient(String recip) Set the Recipient (attribute).voidsetVersion(SAMLVersion newVersion) Sets the SAML version for this message.Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignatureMethods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSignedMethods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignatureMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable 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:
getIDin interfaceResponseAbstractType- Returns:
- the ID
-
setID
Set the ID.- Specified by:
setIDin interfaceResponseAbstractType- Parameters:
newID- what to set
-
getInResponseTo
Return the InResponseTo (attribute).- Specified by:
getInResponseToin interfaceResponseAbstractType- Returns:
- the InResponseTo (attribute).
-
setInResponseTo
Set the InResponseTo (attribute).- Specified by:
setInResponseToin interfaceResponseAbstractType- Parameters:
to- what to set
-
getVersion
Gets the SAML version for this message.- Specified by:
getVersionin interfaceResponseAbstractType- Returns:
- SAML version for this message
-
setVersion
Sets the SAML version for this message.- Specified by:
setVersionin interfaceResponseAbstractType- Parameters:
newVersion- the SAML version for this message
-
getIssueInstant
Return the Issue Instant (attribute).- Specified by:
getIssueInstantin interfaceResponseAbstractType- Returns:
- the IssueInstant
-
setIssueInstant
Set the Issue Instant (attribute). *- Specified by:
setIssueInstantin interfaceResponseAbstractType- Parameters:
date- what to set
-
getRecipient
Return the Recipient (attribute). .- Specified by:
getRecipientin interfaceResponseAbstractType- Returns:
- the Recipient
-
setRecipient
Set the Recipient (attribute). *- Specified by:
setRecipientin 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:
getSignatureReferenceIDin 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:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-