Class UIInfoBuilder
- java.lang.Object
-
- se.litsec.opensaml.core.AbstractSAMLObjectBuilder<UIInfo>
-
- se.litsec.opensaml.saml2.metadata.build.UIInfoBuilder
-
- All Implemented Interfaces:
SAMLObjectBuilder<UIInfo>
public class UIInfoBuilder extends AbstractSAMLObjectBuilder<UIInfo>
A builder for creatingUIInfoobjects.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Constructor Summary
Constructors Constructor Description UIInfoBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UIInfoBuilderbuilder()Creates a builder instance.UIInfoBuilderdescriptions(List<LocalizedString> descriptions)Assigns the descriptions.UIInfoBuilderdescriptions(LocalizedString... descriptions)UIInfoBuilderdisplayNames(List<LocalizedString> displayNames)Assigns the display names.UIInfoBuilderdisplayNames(LocalizedString... displayNames)protected Class<UIInfo>getObjectType()Returns the object type.UIInfoBuilderinformationURLs(List<LocalizedString> informationURLs)Assigns the information URL:s.UIInfoBuilderinformationURLs(LocalizedString... informationURLs)UIInfoBuilderkeywords(String... keywords)UIInfoBuilderkeywords(List<String> keywords)Assigns a set of keywords that do not have the language tag.UIInfoBuilderkeywords(Map<String,List<String>> keywords)Assigns the keywords.UIInfoBuilderlogos(List<Logo> logos)Assigns the logotypes.UIInfoBuilderlogos(Logo... logos)UIInfoBuilderprivacyStatementURLs(List<LocalizedString> privacyStatementURLs)Assigns the privacy statement URL:s.UIInfoBuilderprivacyStatementURLs(LocalizedString... privacyStatementURLs)-
Methods inherited from class se.litsec.opensaml.core.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
-
-
-
Method Detail
-
builder
public static UIInfoBuilder builder()
Creates a builder instance.- Returns:
- a builder instance
-
getObjectType
protected Class<UIInfo> getObjectType()
Returns the object type.- Specified by:
getObjectTypein classAbstractSAMLObjectBuilder<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:
displayNames(List)
-
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:
keywords(List)
-
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:
descriptions(List)
-
logos
public UIInfoBuilder logos(List<Logo> logos)
Assigns the logotypes.- Parameters:
logos- the logos (will be cloned before assignment)- Returns:
- the builder
-
logos
public UIInfoBuilder logos(Logo... logos)
- Parameters:
logos- the logos (will be cloned before assignment)- Returns:
- the builder
- See Also:
logos(List)
-
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:
informationURLs(List)
-
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:
privacyStatementURLs(List)
-
-