public class Subject extends XMLElement
Constructor and Description |
---|
Subject(org.w3c.dom.Document owner)
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 |
---|---|
NameIdentifier |
getNameIdentifier()
Gets the
NameIdentifier element from this Subject element. |
SubjectConfirmation |
getSubjectConfirmation()
Gets the
SubjectConfirmation element from this Subject element. |
void |
setNameIdentifier(NameIdentifier nameIdentifier)
Sets the
NameIdentifier element of this Subject element. |
void |
setSubjectConfirmation(SubjectConfirmation subjectConfirmation)
Sets the
SubjectConfirmation element of this Subject element. |
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 void setNameIdentifier(NameIdentifier nameIdentifier)
NameIdentifier
element of this Subject
element.nameIdentifier
- A NameIdentifier
object that identifies the subject by its name and security domain.public NameIdentifier getNameIdentifier()
NameIdentifier
element from this Subject
element.NameIdentifier
object or null
if none has been set.public void setSubjectConfirmation(SubjectConfirmation subjectConfirmation)
SubjectConfirmation
element of this Subject
element.subjectConfirmation
- A SubjectConfirmation
object that allows the authentication of the subject.public SubjectConfirmation getSubjectConfirmation()
SubjectConfirmation
element from this Subject
element.SubjectConfirmation
object or null
if none has been set.