Interface UserMessage
- All Superinterfaces:
org.opensaml.core.xml.AttributeExtensibleXMLObject
,org.opensaml.saml.common.SAMLObject
,org.opensaml.core.xml.XMLObject
- All Known Implementing Classes:
UserMessageImpl
public interface UserMessage
extends org.opensaml.saml.common.SAMLObject, org.opensaml.core.xml.AttributeExtensibleXMLObject
Definition of the
UserMessage
type.
<xs:element name="UserMessage" type="umsg:UserMessageType"/>
<xs:complexType name="UserMessageType">
<xs:annotation>
<xs:documentation>List of user messages (in different languages)</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Message" type="umsg:MessageType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="mimeType" type="xs:string" default="text/plain">
<xs:annotation>
<xs:documentation>The MIME type of the user message(s)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##any"/>
</xs:complexType>
- Author:
- Martin Lindström
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Name of the element.static final QName
Default element name.static final String
The default MIME type.static final String
Attribute label for the mimeType attribute.static final String
Local name of the typestatic final QName
QName of the XSI type. -
Method Summary
Modifier and TypeMethodDescriptionGets a reference to the list ofMessage
elements.Gets the value of themimeType
attribute.void
setMimeType
(String mimeType) Assigns the value for themimeType
attribute.Methods inherited from interface org.opensaml.core.xml.AttributeExtensibleXMLObject
getUnknownAttributes
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Name of the element.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the type- See Also:
-
TYPE_NAME
QName of the XSI type. -
MIME_TYPE_ATTR_NAME
Attribute label for the mimeType attribute.- See Also:
-
DEFAULT_MIME_TYPE
The default MIME type.- See Also:
-
-
Method Details