Class OrganizationBuilder
java.lang.Object
se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder<org.opensaml.saml.saml2.metadata.Organization>
se.swedenconnect.opensaml.saml2.metadata.build.OrganizationBuilder
- All Implemented Interfaces:
SAMLObjectBuilder<org.opensaml.saml.saml2.metadata.Organization>
public class OrganizationBuilder
extends AbstractSAMLObjectBuilder<org.opensaml.saml.saml2.metadata.Organization>
A builder for
Organization
elements.- Author:
- Martin Lindström (martin@idsec.se)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OrganizationBuilder
builder()
Utility method that creates a builder.protected Class
<org.opensaml.saml.saml2.metadata.Organization> Returns the object type.organizationDisplayNames
(List<LocalizedString> organizationDisplayNames) Assigns theOrganizationDisplayName
elements.organizationDisplayNames
(LocalizedString... organizationDisplayNames) organizationNames
(List<LocalizedString> organizationNames) Assigns theOrganizationName
elements.organizationNames
(LocalizedString... organizationNames) organizationURLs
(List<LocalizedString> organizationURLs) Assigns theOrganizationURL
elements.organizationURLs
(LocalizedString... organizationURLs) Methods inherited from class se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
Constructor Details
-
OrganizationBuilder
public OrganizationBuilder()
-
-
Method Details
-
builder
Utility method that creates a builder.- Returns:
- a builder
-
getObjectType
Returns the object type.- Specified by:
getObjectType
in classAbstractSAMLObjectBuilder<org.opensaml.saml.saml2.metadata.Organization>
- Returns:
- the object type
-
organizationNames
Assigns theOrganizationName
elements.- Parameters:
organizationNames
- the names- Returns:
- the builder
-
organizationNames
- Parameters:
organizationNames
- the names- Returns:
- the builder
- See Also:
-
organizationDisplayNames
Assigns theOrganizationDisplayName
elements.- Parameters:
organizationDisplayNames
- the names- Returns:
- the builder
-
organizationDisplayNames
- Parameters:
organizationDisplayNames
- the names- Returns:
- the builder
- See Also:
-
organizationURLs
Assigns theOrganizationURL
elements.- Parameters:
organizationURLs
- the URLs- Returns:
- the builder
-
organizationURLs
- Parameters:
organizationURLs
- the URLs- Returns:
- the builder
- See Also:
-