Class MessageBuilder
java.lang.Object
se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder<Message>
se.swedenconnect.opensaml.sweid.saml2.authn.umsg.build.MessageBuilder
- All Implemented Interfaces:
SAMLObjectBuilder<Message>
A builder for
Message
objects.- Author:
- Martin Lindström
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MessageBuilder
builder()
Creates a newMessageBuilder
.Assigns the message content in its non-encoded form (i.e., the text as a UTF-8 string).Assigns the language tag.Methods inherited from class se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
Constructor Details
-
MessageBuilder
public MessageBuilder()
-
-
Method Details
-
builder
Creates a newMessageBuilder
.- Returns:
- a
MessageBuilder
-
getObjectType
- Specified by:
getObjectType
in classAbstractSAMLObjectBuilder<Message>
-
language
Assigns the language tag.- Parameters:
language
- the language tag- Returns:
- the builder
-
content
Assigns the message content in its non-encoded form (i.e., the text as a UTF-8 string).- Parameters:
content
- the message content- Returns:
- the builder
-