java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
se.swedenconnect.opensaml.sweid.saml2.authn.umsg.impl.UserMessageImpl
All Implemented Interfaces:
org.opensaml.core.xml.AttributeExtensibleXMLObject, org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, UserMessage

public class UserMessageImpl extends org.opensaml.core.xml.AbstractXMLObject implements UserMessage
Implementation class for the UserMessage interface.
Author:
Martin Lindström
  • Field Summary

    Fields inherited from interface se.swedenconnect.opensaml.sweid.saml2.authn.umsg.UserMessage

    DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, DEFAULT_MIME_TYPE, MIME_TYPE_ATTR_NAME, TYPE_LOCAL_NAME, TYPE_NAME
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    UserMessageImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a reference to the list of Message elements.
    Gets the value of the mimeType attribute.
    List<org.opensaml.core.xml.XMLObject>
    org.opensaml.core.xml.util.AttributeMap
    void
    setMimeType(String mimeType)
    Assigns the value for the mimeType 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

    • UserMessageImpl

      protected UserMessageImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getMessages

      @Nonnull public List<Message> getMessages()
      Gets a reference to the list of Message elements.
      Specified by:
      getMessages in interface UserMessage
      Returns:
      a list of Message elements
    • getMimeType

      @Nullable public String getMimeType()
      Gets the value of the mimeType attribute.
      Specified by:
      getMimeType in interface UserMessage
      Returns:
      the MIME type
    • setMimeType

      public void setMimeType(@Nullable String mimeType)
      Assigns the value for the mimeType attribute.
      Specified by:
      setMimeType in interface UserMessage
      Parameters:
      mimeType - the MIME type
    • getOrderedChildren

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

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