Class SignMessageImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
se.swedenconnect.opensaml.sweid.saml2.signservice.dss.impl.SignMessageImpl
- All Implemented Interfaces:
org.opensaml.core.xml.AttributeExtensibleXMLObject
,org.opensaml.core.xml.XMLObject
,org.opensaml.saml.common.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
ConstructorDescriptionSignMessageImpl
(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 theDisplayEntity
attribute.Returns theEncryptedMessage
element.Returns theMessage
element.Returns the value of theMimeType
attribute.Returns the value of theMimeType
attribute as an enum.List
<org.opensaml.core.xml.XMLObject> org.opensaml.core.xml.util.AttributeMap
Returns the value of theMustShow
attribute.org.opensaml.core.xml.schema.XSBooleanValue
Returns theMustShow
attribute as aXSBooleanValue
.void
setDisplayEntity
(String displayEntity) Assigns the value for theDisplayEntity
attribute.void
setEncryptedMessage
(EncryptedMessage encryptedMessage) Assigns theEncryptedMessage
element.void
setMessage
(Message message) Assigns theMessage
element.void
setMimeType
(String mimeType) Assigns theMimeType
attribute.void
setMimeType
(SignMessageMimeTypeEnum mimeType) Assigns theMimeType
attribute.void
setMustShow
(Boolean mustShow) Assigns the value of theMustShow
attribute.void
setMustShow
(org.opensaml.core.xml.schema.XSBooleanValue mustShow) Assigns the value of theMustShow
attribute.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, setSchemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getOrderedChildren
in interfaceorg.opensaml.core.xml.XMLObject
-
isMustShow
Returns the value of theMustShow
attribute.- Specified by:
isMustShow
in interfaceSignMessage
- Returns:
- the
MustShow
attribute
-
isMustShowXSBoolean
public org.opensaml.core.xml.schema.XSBooleanValue isMustShowXSBoolean()Returns theMustShow
attribute as aXSBooleanValue
.- Specified by:
isMustShowXSBoolean
in interfaceSignMessage
- Returns:
- the
MustShow
attribute - See Also:
-
setMustShow
Assigns the value of theMustShow
attribute.- Specified by:
setMustShow
in interfaceSignMessage
- Parameters:
mustShow
- the value to assign
-
setMustShow
public void setMustShow(org.opensaml.core.xml.schema.XSBooleanValue mustShow) Assigns the value of theMustShow
attribute.- Specified by:
setMustShow
in interfaceSignMessage
- Parameters:
mustShow
- the value to assign- See Also:
-
getDisplayEntity
Returns the value of theDisplayEntity
attribute.- Specified by:
getDisplayEntity
in interfaceSignMessage
- Returns:
- the DisplayEntity attribute
-
setDisplayEntity
Assigns the value for theDisplayEntity
attribute.- Specified by:
setDisplayEntity
in interfaceSignMessage
- Parameters:
displayEntity
- the entityID to assign
-
getMimeType
Returns the value of theMimeType
attribute.- Specified by:
getMimeType
in interfaceSignMessage
- Returns:
- the MimeType attribute
-
getMimeTypeEnum
Returns the value of theMimeType
attribute as an enum.- Specified by:
getMimeTypeEnum
in interfaceSignMessage
- Returns:
- the MimeType attribute
-
setMimeType
Assigns theMimeType
attribute.- Specified by:
setMimeType
in interfaceSignMessage
- Parameters:
mimeType
- the mime type to assign
-
setMimeType
Assigns theMimeType
attribute.- Specified by:
setMimeType
in interfaceSignMessage
- Parameters:
mimeType
- the mime type as an enum to assign
-
getMessage
Returns theMessage
element.- Specified by:
getMessage
in interfaceSignMessage
- Returns:
- the Message element
-
setMessage
Assigns theMessage
element.- Specified by:
setMessage
in interfaceSignMessage
- Parameters:
message
- the message to assign
-
getEncryptedMessage
Returns theEncryptedMessage
element.- Specified by:
getEncryptedMessage
in interfaceSignMessage
- Returns:
- the EncryptedMessage element
-
setEncryptedMessage
Assigns theEncryptedMessage
element.- Specified by:
setEncryptedMessage
in interfaceSignMessage
- Parameters:
encryptedMessage
- the EncryptedMessage element to assign
-
getUnknownAttributes
public org.opensaml.core.xml.util.AttributeMap getUnknownAttributes()- Specified by:
getUnknownAttributes
in interfaceorg.opensaml.core.xml.AttributeExtensibleXMLObject
-