public class LogoBuilder extends AbstractSAMLObjectBuilder<Logo>
mdui:Logo elements.| Constructor and Description |
|---|
LogoBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static LogoBuilder |
builder()
Creates a new
LogoBuilder instance. |
protected Class<Logo> |
getObjectType()
Returns the object type.
|
LogoBuilder |
height(Integer height)
Assigns the height of the
Logo. |
LogoBuilder |
language(String language)
Assigns the language tag of the
Logo. |
static Logo |
logo(String url,
Integer height,
Integer width)
Utility method that builds a
mdui:Logo object. |
static Logo |
logo(String url,
String language,
Integer height,
Integer width)
Utility method that builds a
mdui:Logo object. |
LogoBuilder |
url(String url)
Assigns the URL of the
Logo. |
LogoBuilder |
width(Integer width)
Assigns the width of the
Logo. |
build, objectpublic static LogoBuilder builder()
LogoBuilder instance.LogoBuilder instancepublic static Logo logo(String url, Integer height, Integer width)
mdui:Logo object.url - the Logo URLheight - the heightwidth - the widthLogo instancepublic static Logo logo(String url, String language, Integer height, Integer width)
mdui:Logo object.url - the Logo URLlanguage - the languageheight - the heightwidth - the widthLogo instanceprotected Class<Logo> getObjectType()
getObjectType in class AbstractSAMLObjectBuilder<Logo>public LogoBuilder url(String url)
Logo.url - the URLpublic LogoBuilder language(String language)
Logo.language - the language tagpublic LogoBuilder height(Integer height)
Logo.height - the height (in pixels)public LogoBuilder width(Integer width)
Logo.width - the width (in pixels)Copyright © 2018 Litsec AB. All rights reserved.