public class ClaimType extends Object
ClaimType
represents Identity
ClaimType Element.Modifier and Type | Field and Description |
---|---|
static String |
CLAIMS_NS |
static String |
IDENTITY_NS |
Constructor and Description |
---|
ClaimType(Element element)
Constructor
|
ClaimType(String nameSpaceURI)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name for the claim.
|
boolean |
isOptional()
Returns true if the claim is optional.
|
void |
setName(String name)
Sets the name of the claim.
|
void |
setOptional(boolean optional)
Sets the optional flag.
|
String |
toXMLString()
Returns to an XML String for the ClaimType.
|
public static final String IDENTITY_NS
public static final String CLAIMS_NS
public ClaimType(String nameSpaceURI)
nameSpaceURI
- the name space for the claim type.public ClaimType(Element element) throws WSTException
element
- the claimtype elementWSTException
public String getName()
public void setName(String name)
name
- name of the claim.public boolean isOptional()
public void setOptional(boolean optional)
optional
- true if the claim is optional.public String toXMLString()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.