Class OrganizationBuilder
- java.lang.Object
-
- se.litsec.opensaml.core.AbstractSAMLObjectBuilder<Organization>
-
- se.litsec.opensaml.saml2.metadata.build.OrganizationBuilder
-
- All Implemented Interfaces:
SAMLObjectBuilder<Organization>
public class OrganizationBuilder extends AbstractSAMLObjectBuilder<Organization>
A builder forOrganization
elements.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Constructor Summary
Constructors Constructor Description OrganizationBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OrganizationBuilder
builder()
Utility method that creates a builder.protected Class<Organization>
getObjectType()
Returns the object type.OrganizationBuilder
organizationDisplayNames(List<LocalizedString> organizationDisplayNames)
Assigns theOrganizationDisplayName
elements.OrganizationBuilder
organizationDisplayNames(LocalizedString... organizationDisplayNames)
OrganizationBuilder
organizationNames(List<LocalizedString> organizationNames)
Assigns theOrganizationName
elements.OrganizationBuilder
organizationNames(LocalizedString... organizationNames)
OrganizationBuilder
organizationURLs(List<LocalizedString> organizationURLs)
Assigns theOrganizationURL
elements.OrganizationBuilder
organizationURLs(LocalizedString... organizationURLs)
-
Methods inherited from class se.litsec.opensaml.core.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
-
-
-
Method Detail
-
builder
public static OrganizationBuilder builder()
Utility method that creates a builder.- Returns:
- a builder
-
getObjectType
protected Class<Organization> getObjectType()
Returns the object type.- Specified by:
getObjectType
in classAbstractSAMLObjectBuilder<Organization>
- Returns:
- the object type
-
organizationNames
public OrganizationBuilder organizationNames(List<LocalizedString> organizationNames)
Assigns theOrganizationName
elements.- Parameters:
organizationNames
- the names- Returns:
- the builder
-
organizationNames
public OrganizationBuilder organizationNames(LocalizedString... organizationNames)
- Parameters:
organizationNames
- the names- Returns:
- the builder
- See Also:
organizationNames(List)
-
organizationDisplayNames
public OrganizationBuilder organizationDisplayNames(List<LocalizedString> organizationDisplayNames)
Assigns theOrganizationDisplayName
elements.- Parameters:
organizationDisplayNames
- the names- Returns:
- the builder
-
organizationDisplayNames
public OrganizationBuilder organizationDisplayNames(LocalizedString... organizationDisplayNames)
- Parameters:
organizationDisplayNames
- the names- Returns:
- the builder
- See Also:
organizationDisplayNames(List)
-
organizationURLs
public OrganizationBuilder organizationURLs(List<LocalizedString> organizationURLs)
Assigns theOrganizationURL
elements.- Parameters:
organizationURLs
- the URLs- Returns:
- the builder
-
organizationURLs
public OrganizationBuilder organizationURLs(LocalizedString... organizationURLs)
- Parameters:
organizationURLs
- the URLs- Returns:
- the builder
- See Also:
organizationURLs(List)
-
-