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

public class SignMessageImpl extends org.opensaml.core.xml.AbstractXMLObject implements 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

    Constructors
    Constructor
    Description
    SignMessageImpl(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 Type
    Method
    Description
    Returns the value of the DisplayEntity attribute.
    Returns the EncryptedMessage element.
    Returns the Message element.
    Returns the value of the MimeType attribute.
    Returns the value of the MimeType attribute as an enum.
    List<org.opensaml.core.xml.XMLObject>
    org.opensaml.core.xml.util.AttributeMap
    Returns the value of the MustShow attribute.
    org.opensaml.core.xml.schema.XSBooleanValue
    Returns the MustShow attribute as a XSBooleanValue.
    void
    setDisplayEntity(String displayEntity)
    Assigns the value for the DisplayEntity attribute.
    void
    Assigns the EncryptedMessage element.
    void
    Assigns the Message element.
    void
    setMimeType(String mimeType)
    Assigns the MimeType attribute.
    void
    Assigns the MimeType attribute.
    void
    setMustShow(Boolean mustShow)
    Assigns the value of the MustShow attribute.
    void
    setMustShow(org.opensaml.core.xml.schema.XSBooleanValue mustShow)
    Assigns the value of the MustShow 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

      public SignMessageImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      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

      public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      Specified by:
      getOrderedChildren in interface org.opensaml.core.xml.XMLObject
    • isMustShow

      public Boolean isMustShow()
      Returns the value of the MustShow attribute.
      Specified by:
      isMustShow in interface SignMessage
      Returns:
      the MustShow attribute
    • isMustShowXSBoolean

      public org.opensaml.core.xml.schema.XSBooleanValue isMustShowXSBoolean()
      Returns the MustShow attribute as a XSBooleanValue.
      Specified by:
      isMustShowXSBoolean in interface SignMessage
      Returns:
      the MustShow attribute
      See Also:
    • setMustShow

      public void setMustShow(Boolean mustShow)
      Assigns the value of the MustShow attribute.
      Specified by:
      setMustShow in interface SignMessage
      Parameters:
      mustShow - the value to assign
    • setMustShow

      public void setMustShow(org.opensaml.core.xml.schema.XSBooleanValue mustShow)
      Assigns the value of the MustShow attribute.
      Specified by:
      setMustShow in interface SignMessage
      Parameters:
      mustShow - the value to assign
      See Also:
    • getDisplayEntity

      public String getDisplayEntity()
      Returns the value of the DisplayEntity attribute.
      Specified by:
      getDisplayEntity in interface SignMessage
      Returns:
      the DisplayEntity attribute
    • setDisplayEntity

      public void setDisplayEntity(String displayEntity)
      Assigns the value for the DisplayEntity attribute.
      Specified by:
      setDisplayEntity in interface SignMessage
      Parameters:
      displayEntity - the entityID to assign
    • getMimeType

      public String getMimeType()
      Returns the value of the MimeType attribute.
      Specified by:
      getMimeType in interface SignMessage
      Returns:
      the MimeType attribute
    • getMimeTypeEnum

      public SignMessageMimeTypeEnum getMimeTypeEnum()
      Returns the value of the MimeType attribute as an enum.
      Specified by:
      getMimeTypeEnum in interface SignMessage
      Returns:
      the MimeType attribute
    • setMimeType

      public void setMimeType(String mimeType)
      Assigns the MimeType attribute.
      Specified by:
      setMimeType in interface SignMessage
      Parameters:
      mimeType - the mime type to assign
    • setMimeType

      public void setMimeType(SignMessageMimeTypeEnum mimeType)
      Assigns the MimeType attribute.
      Specified by:
      setMimeType in interface SignMessage
      Parameters:
      mimeType - the mime type as an enum to assign
    • getMessage

      public Message getMessage()
      Returns the Message element.
      Specified by:
      getMessage in interface SignMessage
      Returns:
      the Message element
    • setMessage

      public void setMessage(Message message)
      Assigns the Message element.
      Specified by:
      setMessage in interface SignMessage
      Parameters:
      message - the message to assign
    • getEncryptedMessage

      public EncryptedMessage getEncryptedMessage()
      Returns the EncryptedMessage element.
      Specified by:
      getEncryptedMessage in interface SignMessage
      Returns:
      the EncryptedMessage element
    • setEncryptedMessage

      public void setEncryptedMessage(EncryptedMessage encryptedMessage)
      Assigns the EncryptedMessage element.
      Specified by:
      setEncryptedMessage in interface SignMessage
      Parameters:
      encryptedMessage - the EncryptedMessage element to assign
    • getUnknownAttributes

      public org.opensaml.core.xml.util.AttributeMap getUnknownAttributes()
      Specified by:
      getUnknownAttributes in interface org.opensaml.core.xml.AttributeExtensibleXMLObject