Class MessageImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.core.xml.schema.impl.XSBase64BinaryImpl
se.swedenconnect.opensaml.sweid.saml2.signservice.dss.impl.MessageImpl
- All Implemented Interfaces:
XSBase64Binary,XMLObject,Message
Implementation of the
Message interface.- Author:
- Martin Lindström (martin@idsec.se)
-
Field Summary
Fields inherited from interface se.swedenconnect.opensaml.sweid.saml2.signservice.dss.Message
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAMEFields inherited from interface org.opensaml.core.xml.schema.XSBase64Binary
TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMessageImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor creating an Message object given the namespace URI, local element name and namespace prefix. -
Method Summary
Modifier and TypeMethodDescriptionReturns string content of theMessageelement, i.e., its Base64 decoded form.voidsetContent(String messageContent) Assigns theMessageelement by assigning the text that it should hold.Methods inherited from class org.opensaml.core.xml.schema.impl.XSBase64BinaryImpl
getOrderedChildren, getValue, setValueMethods 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, setSchemaLocationMethods inherited from interface org.opensaml.core.xml.schema.XSBase64Binary
getValue, setValue
-
Constructor Details
-
MessageImpl
Constructor creating an Message object given the namespace URI, local element name and namespace prefix.- Parameters:
namespaceURI- the namespace URI.elementLocalName- the element local name.namespacePrefix- the name space prefix.
-
-
Method Details
-
getContent
Returns string content of theMessageelement, i.e., its Base64 decoded form.- Specified by:
getContentin interfaceMessage- Returns:
- the message content
-
setContent
Assigns theMessageelement by assigning the text that it should hold. The method will Base64 encode the text.- Specified by:
setContentin interfaceMessage- Parameters:
messageContent- content of the Message element
-