Class SignMessageImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
se.swedenconnect.opensaml.sweid.saml2.signservice.dss.impl.SignMessageImpl
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,SAMLObject,SignMessage
Implementation class for the
SignMessage interface.- Author:
- Martin Lindström (martin@idsec.se)
-
Field Summary
Fields inherited from interface se.swedenconnect.opensaml.sweid.saml2.signservice.dss.SignMessage
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, DISPLAY_ENTITY_ATTR_NAME, MIME_TYPE_ATTR_NAME, MUST_SHOW_ATTR_NAME, TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionSignMessageImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor creating an SignMessage object given the namespace URI, local element name and namespace prefix. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theDisplayEntityattribute.Returns theEncryptedMessageelement.Returns theMessageelement.Returns the value of theMimeTypeattribute.Returns the value of theMimeTypeattribute as an enum.Returns the value of theMustShowattribute.Returns theMustShowattribute as aXSBooleanValue.voidsetDisplayEntity(String displayEntity) Assigns the value for theDisplayEntityattribute.voidsetEncryptedMessage(EncryptedMessage encryptedMessage) Assigns theEncryptedMessageelement.voidsetMessage(Message message) Assigns theMessageelement.voidsetMimeType(String mimeType) Assigns theMimeTypeattribute.voidsetMimeType(SignMessageMimeTypeEnum mimeType) Assigns theMimeTypeattribute.voidsetMustShow(Boolean mustShow) Assigns the value of theMustShowattribute.voidsetMustShow(XSBooleanValue mustShow) Assigns the value of theMustShowattribute.Methods 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Constructor Details
-
SignMessageImpl
Constructor creating an SignMessage object given the namespace URI, local element name and namespace prefix.- Parameters:
namespaceURI- the namespace URI.elementLocalName- the element local name.namespacePrefix- the name space prefix.
-
-
Method Details
-
getOrderedChildren
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
isMustShow
Returns the value of theMustShowattribute.- Specified by:
isMustShowin interfaceSignMessage- Returns:
- the
MustShowattribute
-
isMustShowXSBoolean
Returns theMustShowattribute as aXSBooleanValue.- Specified by:
isMustShowXSBooleanin interfaceSignMessage- Returns:
- the
MustShowattribute - See Also:
-
setMustShow
Assigns the value of theMustShowattribute.- Specified by:
setMustShowin interfaceSignMessage- Parameters:
mustShow- the value to assign
-
setMustShow
Assigns the value of theMustShowattribute.- Specified by:
setMustShowin interfaceSignMessage- Parameters:
mustShow- the value to assign- See Also:
-
getDisplayEntity
Returns the value of theDisplayEntityattribute.- Specified by:
getDisplayEntityin interfaceSignMessage- Returns:
- the DisplayEntity attribute
-
setDisplayEntity
Assigns the value for theDisplayEntityattribute.- Specified by:
setDisplayEntityin interfaceSignMessage- Parameters:
displayEntity- the entityID to assign
-
getMimeType
Returns the value of theMimeTypeattribute.- Specified by:
getMimeTypein interfaceSignMessage- Returns:
- the MimeType attribute
-
getMimeTypeEnum
Returns the value of theMimeTypeattribute as an enum.- Specified by:
getMimeTypeEnumin interfaceSignMessage- Returns:
- the MimeType attribute
-
setMimeType
Assigns theMimeTypeattribute.- Specified by:
setMimeTypein interfaceSignMessage- Parameters:
mimeType- the mime type to assign
-
setMimeType
Assigns theMimeTypeattribute.- Specified by:
setMimeTypein interfaceSignMessage- Parameters:
mimeType- the mime type as an enum to assign
-
getMessage
Returns theMessageelement.- Specified by:
getMessagein interfaceSignMessage- Returns:
- the Message element
-
setMessage
Assigns theMessageelement.- Specified by:
setMessagein interfaceSignMessage- Parameters:
message- the message to assign
-
getEncryptedMessage
Returns theEncryptedMessageelement.- Specified by:
getEncryptedMessagein interfaceSignMessage- Returns:
- the EncryptedMessage element
-
setEncryptedMessage
Assigns theEncryptedMessageelement.- Specified by:
setEncryptedMessagein interfaceSignMessage- Parameters:
encryptedMessage- the EncryptedMessage element to assign
-
getUnknownAttributes
- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject
-