Class MessageImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.core.xml.schema.impl.XSBase64BinaryImpl
se.swedenconnect.opensaml.sweid.saml2.authn.umsg.impl.MessageImpl
- All Implemented Interfaces:
org.opensaml.core.xml.AttributeExtensibleXMLObject
,org.opensaml.core.xml.LangBearing
,org.opensaml.core.xml.schema.XSBase64Binary
,org.opensaml.core.xml.XMLObject
,org.opensaml.saml.common.SAMLObject
,Message
public class MessageImpl
extends org.opensaml.core.xml.schema.impl.XSBase64BinaryImpl
implements Message
Implementation class for
Message
.- Author:
- Martin Lindström
-
Field Summary
Fields inherited from interface org.opensaml.core.xml.LangBearing
XML_LANG_ATTR_LOCAL_NAME, XML_LANG_ATTR_NAME
Fields inherited from interface se.swedenconnect.opensaml.sweid.saml2.authn.umsg.Message
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
Fields inherited from interface org.opensaml.core.xml.schema.XSBase64Binary
TYPE_LOCAL_NAME, TYPE_NAME
-
Constructor Summary
ConstructorDescriptionMessageImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the content of theMessage
element, i.e., its Base64 decoded form.org.opensaml.core.xml.util.AttributeMap
void
setContent
(String messageContent) Assigns theMessage
element by assigning the text that it should hold.void
setXMLLang
(String newLang) Methods inherited from class org.opensaml.core.xml.schema.impl.XSBase64BinaryImpl
getOrderedChildren, getValue, setValue
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, 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
-
Constructor Details
-
MessageImpl
Constructor.- Parameters:
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace
-
-
Method Details
-
getUnknownAttributes
@Nonnull public org.opensaml.core.xml.util.AttributeMap getUnknownAttributes()- Specified by:
getUnknownAttributes
in interfaceorg.opensaml.core.xml.AttributeExtensibleXMLObject
-
getXMLLang
- Specified by:
getXMLLang
in interfaceorg.opensaml.core.xml.LangBearing
-
setXMLLang
- Specified by:
setXMLLang
in interfaceorg.opensaml.core.xml.LangBearing
-
getContent
Gets the content of theMessage
element, i.e., its Base64 decoded form.The
XSBase64Binary.getValue()
method will return the Base64 encoded value.- Specified by:
getContent
in interfaceMessage
- 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.- Specified by:
setContent
in interfaceMessage
- Parameters:
messageContent
- content of the Message element- See Also:
-