Class MatchValueBuilder
- java.lang.Object
-
- se.litsec.opensaml.core.AbstractSAMLObjectBuilder<MatchValue>
-
- se.litsec.swedisheid.opensaml.saml2.authentication.psc.build.MatchValueBuilder
-
- All Implemented Interfaces:
SAMLObjectBuilder<MatchValue>
public class MatchValueBuilder extends AbstractSAMLObjectBuilder<MatchValue>
A builder forMatchValueobjects.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Constructor Summary
Constructors Constructor Description MatchValueBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MatchValueBuilderbuilder()Creates a newMatchValueBuilderinstance.protected Class<MatchValue>getObjectType()MatchValueBuildername(String name)Assigns theNameattribute of theMatchValueobject.MatchValueBuildernameFormat(String nameFormat)Assigns theNameFormatattribute of theMatchValueobject.MatchValueBuildervalue(String value)Assigns the value.-
Methods inherited from class se.litsec.opensaml.core.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
-
-
-
Method Detail
-
builder
public static MatchValueBuilder builder()
Creates a newMatchValueBuilderinstance.- Returns:
- a
MatchValueBuilderinstance
-
getObjectType
protected Class<MatchValue> getObjectType()
- Specified by:
getObjectTypein classAbstractSAMLObjectBuilder<MatchValue>
-
value
public MatchValueBuilder value(String value)
Assigns the value.- Parameters:
value- the value- Returns:
- the builder
-
name
public MatchValueBuilder name(String name)
Assigns theNameattribute of theMatchValueobject.- Parameters:
name- the name- Returns:
- the builder
-
nameFormat
public MatchValueBuilder nameFormat(String nameFormat)
Assigns theNameFormatattribute of theMatchValueobject.- Parameters:
nameFormat- the name format URI- Returns:
- the builder
-
-