Class AttributeConsumingServiceBuilder
java.lang.Object
se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder<AttributeConsumingService>
se.swedenconnect.opensaml.saml2.metadata.build.AttributeConsumingServiceBuilder
- All Implemented Interfaces:
SAMLObjectBuilder<AttributeConsumingService>
public class AttributeConsumingServiceBuilder
extends AbstractSAMLObjectBuilder<AttributeConsumingService>
Builder for
md:AttributeConsumingService elements.- Author:
- Martin Lindström (martin@idsec.se)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Utility method that creates a builder.descriptions(List<LocalizedString> descriptions) Assigns the descriptions.descriptions(LocalizedString... descriptions) protected Class<AttributeConsumingService> Returns the object type.Assigns theIndexattribute.Sets theisDefaultattribute of the service.requestedAttributes(List<RequestedAttribute> attributes) Assigns themd:RequestedAttributeelements.requestedAttributes(RequestedAttribute... attributes) serviceNames(List<LocalizedString> names) Assigns the service names.serviceNames(LocalizedString... names) Methods inherited from class se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
Constructor Details
-
AttributeConsumingServiceBuilder
public AttributeConsumingServiceBuilder()
-
-
Method Details
-
builder
Utility method that creates a builder.- Returns:
- a builder
-
index
Assigns theIndexattribute.- Parameters:
index- the index- Returns:
- the builder
-
isDefault
Sets theisDefaultattribute of the service.- Parameters:
flag- the Boolean- Returns:
- the builder
-
serviceNames
Assigns the service names.- Parameters:
names- the service names- Returns:
- the builder.
-
serviceNames
- Parameters:
names- the service names- Returns:
- the builder.
- See Also:
-
descriptions
Assigns the descriptions.- Parameters:
descriptions- the descriptions- Returns:
- the builder
-
descriptions
- Parameters:
descriptions- the descriptions- Returns:
- the builder
- See Also:
-
requestedAttributes
Assigns themd:RequestedAttributeelements.- Parameters:
attributes- the requested attributes- Returns:
- the builder
-
requestedAttributes
- Parameters:
attributes- the requested attributes- Returns:
- the builder
- See Also:
-
getObjectType
Returns the object type.- Specified by:
getObjectTypein classAbstractSAMLObjectBuilder<AttributeConsumingService>- Returns:
- the object type
-