public class Subject
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_java_copyright |
static java.lang.String |
_java_sourceCodeID |
Constructor and Description |
---|
Subject(java.lang.String name,
java.lang.String format)
Constructor from a name and SAML name format
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormat()
get the value of the format attribute that will be used in creation of
the SAML 1.x NameIdentifier format
|
java.lang.String |
getName()
Get the attribute that is to b used as the value of the SAML 1.x
NameIdentifier element.
|
void |
setFormat(java.lang.String type)
Set the value of the format attribute from the SAML 1.x NameIdentifier.
|
void |
setName(java.lang.String name)
Set the value of the name attribute
|
org.w3c.dom.Element |
toXml(org.w3c.dom.Document owner)
Returns an XML representation of this Subject as an org.w3c.dom.Element
object.
|
public static final java.lang.String _java_sourceCodeID
public static final java.lang.String _java_copyright
public Subject(java.lang.String name, java.lang.String format)
name
- the name of the Subject as a String.format
- the format of the Subject as a String.public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name for this Subject object as a String.public java.lang.String getFormat()
public void setFormat(java.lang.String type)
type
- the value of the format attribute from the SAML 1.x
NameIdentifier.public org.w3c.dom.Element toXml(org.w3c.dom.Document owner)
owner
- the Document to add this Subject to.