Interface UserMessage
- All Superinterfaces:
AttributeExtensibleXMLObject, SAMLObject, XMLObject
- All Known Implementing Classes:
UserMessageImpl
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
FieldsModifier and TypeFieldDescriptionstatic final StringName of the element.static final QNameDefault element name.static final StringThe default MIME type.static final StringAttribute label for the mimeType attribute.static final StringLocal name of the typestatic final QNameQName of the XSI type. -
Method Summary
Modifier and TypeMethodDescriptionGets a reference to the list ofMessageelements.Gets the value of themimeTypeattribute.voidsetMimeType(String mimeType) Assigns the value for themimeTypeattribute.Methods inherited from interface AttributeExtensibleXMLObject
getUnknownAttributesMethods inherited from interface 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
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
-
TYPE_NAME
QName of the XSI type. -
MIME_TYPE_ATTR_NAME
Attribute label for the mimeType attribute.- See Also:
-
DEFAULT_MIME_TYPE
-
-
Method Details
-
getMessages
-
getMimeType
-
setMimeType
Assigns the value for themimeTypeattribute.- Parameters:
mimeType- the MIME type
-