Class UIInfoBuilder

java.lang.Object
se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder<org.opensaml.saml.ext.saml2mdui.UIInfo>
se.swedenconnect.opensaml.saml2.metadata.build.UIInfoBuilder
All Implemented Interfaces:
SAMLObjectBuilder<org.opensaml.saml.ext.saml2mdui.UIInfo>

public class UIInfoBuilder extends AbstractSAMLObjectBuilder<org.opensaml.saml.ext.saml2mdui.UIInfo>
A builder for creating UIInfo objects.
Author:
Martin Lindström (martin@idsec.se)
  • Constructor Details

    • UIInfoBuilder

      public UIInfoBuilder()
  • Method Details

    • builder

      public static UIInfoBuilder builder()
      Creates a builder instance.
      Returns:
      a builder instance
    • getObjectType

      protected Class<org.opensaml.saml.ext.saml2mdui.UIInfo> getObjectType()
      Returns the object type.
      Specified by:
      getObjectType in class AbstractSAMLObjectBuilder<org.opensaml.saml.ext.saml2mdui.UIInfo>
      Returns:
      the object type
    • displayNames

      public UIInfoBuilder displayNames(List<LocalizedString> displayNames)
      Assigns the display names.
      Parameters:
      displayNames - the names
      Returns:
      the builder
    • displayNames

      public UIInfoBuilder displayNames(LocalizedString... displayNames)
      Parameters:
      displayNames - the names
      Returns:
      the builder
      See Also:
    • keywords

      public UIInfoBuilder keywords(Map<String,List<String>> keywords)
      Assigns the keywords.
      Parameters:
      keywords - the keywords where the map keys are language tags
      Returns:
      the builder
    • keywords

      public UIInfoBuilder keywords(List<String> keywords)
      Assigns a set of keywords that do not have the language tag.
      Parameters:
      keywords - the keywords
      Returns:
      the builder
    • keywords

      public UIInfoBuilder keywords(String... keywords)
      Parameters:
      keywords - the keywords
      Returns:
      the builder
      See Also:
    • descriptions

      public UIInfoBuilder descriptions(List<LocalizedString> descriptions)
      Assigns the descriptions.
      Parameters:
      descriptions - the descriptions
      Returns:
      the builder
    • descriptions

      public UIInfoBuilder descriptions(LocalizedString... descriptions)
      Parameters:
      descriptions - the descriptions
      Returns:
      the builder
      See Also:
    • logos

      public UIInfoBuilder logos(List<org.opensaml.saml.ext.saml2mdui.Logo> logos)
      Assigns the logotypes.
      Parameters:
      logos - the logos (will be cloned before assignment)
      Returns:
      the builder
    • logos

      public UIInfoBuilder logos(org.opensaml.saml.ext.saml2mdui.Logo... logos)
      Parameters:
      logos - the logos (will be cloned before assignment)
      Returns:
      the builder
      See Also:
    • informationURLs

      public UIInfoBuilder informationURLs(List<LocalizedString> informationURLs)
      Assigns the information URL:s.
      Parameters:
      informationURLs - the information URL:s
      Returns:
      the builder
    • informationURLs

      public UIInfoBuilder informationURLs(LocalizedString... informationURLs)
      Parameters:
      informationURLs - the information URL:s
      Returns:
      the builder
      See Also:
    • privacyStatementURLs

      public UIInfoBuilder privacyStatementURLs(List<LocalizedString> privacyStatementURLs)
      Assigns the privacy statement URL:s.
      Parameters:
      privacyStatementURLs - the URL:s
      Returns:
      the builder
    • privacyStatementURLs

      public UIInfoBuilder privacyStatementURLs(LocalizedString... privacyStatementURLs)
      Parameters:
      privacyStatementURLs - the URL:s
      Returns:
      the builder
      See Also: