Class LogoBuilder
java.lang.Object
se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder<Logo>
se.swedenconnect.opensaml.saml2.metadata.build.LogoBuilder
- All Implemented Interfaces:
SAMLObjectBuilder<Logo>
A builder for
mdui:Logo elements.- Author:
- Martin Lindström (martin@idsec.se)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LogoBuilderbuilder()Creates a newLogoBuilderinstance.Returns the object type.Assigns the height of theLogo.Assigns the language tag of theLogo.static LogoUtility method that builds amdui:Logoobject.static LogoUtility method that builds amdui:Logoobject.Assigns the URL of theLogo.Assigns the width of theLogo.Methods inherited from class se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
Constructor Details
-
LogoBuilder
public LogoBuilder()
-
-
Method Details
-
builder
Creates a newLogoBuilderinstance.- Returns:
- a LogoBuilder instance
-
logo
Utility method that builds amdui:Logoobject.- Parameters:
url- the Logo URLheight- the heightwidth- the width- Returns:
- a
Logoinstance
-
logo
Utility method that builds amdui:Logoobject.- Parameters:
url- the Logo URLlanguage- the languageheight- the heightwidth- the width- Returns:
- a Logo instance
-
getObjectType
Returns the object type.- Specified by:
getObjectTypein classAbstractSAMLObjectBuilder<Logo>- Returns:
- the object type
-
url
Assigns the URL of theLogo.- Parameters:
url- the URL- Returns:
- the builder
-
language
Assigns the language tag of theLogo.- Parameters:
language- the language tag- Returns:
- the builder
-
height
Assigns the height of theLogo.- Parameters:
height- the height (in pixels)- Returns:
- the builder
-
width
Assigns the width of theLogo.- Parameters:
width- the width (in pixels)- Returns:
- the builder
-