public class Subject extends XMLElement
Constructor and Description |
---|
Subject(org.w3c.dom.Document owner)
Creates a new
Subject instance. |
Subject(org.w3c.dom.Document owner, SAML2NameIdentifier name)
Creates a new
Subject instance. |
Subject(org.w3c.dom.Document owner, SAML2NameIdentifier name, SubjectConfirmation sc)
Creates a new
Subject instance. |
Subject(org.w3c.dom.Element element)
Creates a new
Subject instance from the given Element node. |
Subject(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
Subject instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
void |
addSubjectConfirmation(SubjectConfirmation subjectConfirmation)
Sets the
SubjectConfirmation element of this Subject element. |
java.util.List |
getSubjectConfirmations()
Gets the
SubjectConfirmation element from this Subject element. |
SAML2NameIdentifier |
getSubjectNameIdentifier()
Gets the name of the Subject.
|
void |
setSubjectNameIdentifier(SAML2NameIdentifier nid)
Sets the name of the Subject.
|
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML
public Subject(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
Subject
instance from the given Element node.element
- A Subject element.org.w3c.dom.DOMException
public Subject(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
Subject
instance from the given Element node.element
- A Subject element.systemId
- The URI string system ID for the Subject
.org.w3c.dom.DOMException
public Subject(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
Subject
instance.owner
- The owner document of the new Subject.org.w3c.dom.DOMException
public Subject(org.w3c.dom.Document owner, SAML2NameIdentifier name) throws org.w3c.dom.DOMException
Subject
instance.owner
- The owner document of the new Subject.name
- The name of the subject.org.w3c.dom.DOMException
public Subject(org.w3c.dom.Document owner, SAML2NameIdentifier name, SubjectConfirmation sc) throws org.w3c.dom.DOMException
Subject
instance.owner
- The owner document of the new Subject.name
- The name of the subject.sc
- A SubjectConfirmation
object .org.w3c.dom.DOMException
public void setSubjectNameIdentifier(SAML2NameIdentifier nid)
nid
- A SAML2NameIdentifier
object.public SAML2NameIdentifier getSubjectNameIdentifier()
SAML2NameIdentifier
object or null
if none has been set.public void addSubjectConfirmation(SubjectConfirmation subjectConfirmation)
SubjectConfirmation
element of this Subject
element.subjectConfirmation
- A SubjectConfirmation
object.public java.util.List getSubjectConfirmations()
SubjectConfirmation
element from this Subject
element.List
of SubjectConfirmation
object or null
if nonehas been set.