Interface Message
- All Superinterfaces:
org.opensaml.core.xml.AttributeExtensibleXMLObject
,org.opensaml.core.xml.LangBearing
,org.opensaml.saml.common.SAMLObject
,org.opensaml.core.xml.XMLObject
,org.opensaml.core.xml.schema.XSBase64Binary
- All Known Implementing Classes:
MessageImpl
public interface Message
extends org.opensaml.core.xml.schema.XSBase64Binary, org.opensaml.core.xml.LangBearing, org.opensaml.saml.common.SAMLObject, org.opensaml.core.xml.AttributeExtensibleXMLObject
Definition for the
MessageType
type:
<xs:complexType name="MessageType">
<xs:annotation>
<xs:documentation>
The Base64-encoding of UTF-8 string holding the user message.
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:base64Binary">
<xs:attribute ref="xml:lang" use="required"/>
<xs:anyAttribute namespace="##any"/>
</xs:extension>
</xs:simpleContent>
</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
Local name of the typestatic final QName
QName of the XSI type.Fields inherited from interface org.opensaml.core.xml.LangBearing
XML_LANG_ATTR_LOCAL_NAME, XML_LANG_ATTR_NAME
-
Method Summary
Modifier and TypeMethodDescriptionGets the content of theMessage
element, i.e., its Base64 decoded form.void
setContent
(String messageContent) Assigns theMessage
element by assigning the text that it should hold.Methods inherited from interface org.opensaml.core.xml.AttributeExtensibleXMLObject
getUnknownAttributes
Methods inherited from interface org.opensaml.core.xml.LangBearing
getXMLLang, setXMLLang
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
Methods inherited from interface org.opensaml.core.xml.schema.XSBase64Binary
getValue, setValue
-
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.
-
-
Method Details
-
getContent
Gets the content of theMessage
element, i.e., its Base64 decoded form.The
XSBase64Binary.getValue()
method will return the Base64 encoded value.- Returns:
- the message content
- See Also:
-
setContent
Assigns theMessage
element by assigning the text that it should hold. The method will Base64 encode the text.The
XSBase64Binary.setValue(String)
is used to assign the Base64 encoded value.- Parameters:
messageContent
- content of the Message element- See Also:
-