java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.core.xml.schema.impl.XSBase64BinaryImpl
se.swedenconnect.opensaml.sweid.saml2.signservice.dss.impl.MessageImpl
All Implemented Interfaces:
XSBase64Binary, XMLObject, Message

public class MessageImpl extends XSBase64BinaryImpl implements Message
Implementation of the Message interface.
Author:
Martin Lindström (martin@idsec.se)
  • Constructor Details

    • MessageImpl

      protected MessageImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor creating an Message 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

    • getContent

      public String getContent()
      Returns string content of the Message element, i.e., its Base64 decoded form.
      Specified by:
      getContent in interface Message
      Returns:
      the message content
    • setContent

      public void setContent(String messageContent)
      Assigns the Message element by assigning the text that it should hold. The method will Base64 encode the text.
      Specified by:
      setContent in interface Message
      Parameters:
      messageContent - content of the Message element