public abstract class SubjectStatement extends Statement
SubjectStatement
element. The SubjectStatement element serves as an extension point for new statements. It is of the type SubjectStatementAbstractType which is an abstract complex type extending the StatementAbstractType. Extension elements must use the xsi:type attribute to indicate the derived type.Modifier | Constructor and Description |
---|---|
protected |
SubjectStatement(org.w3c.dom.Document owner, java.lang.String uri, java.lang.String localName)
Creates a new
SubjectStatement instance. |
protected |
SubjectStatement(org.w3c.dom.Element element)
Creates a new
SubjectStatement instance from the given Element node. |
protected |
SubjectStatement(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
SubjectStatement instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
Subject |
getSubject()
Gets the
Subject of this SubjectStatement element. |
void |
setSubject(Subject subject)
Sets the
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
protected SubjectStatement(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
SubjectStatement
instance from the given Element node.element
- A SubjectStatement element.org.w3c.dom.DOMException
protected SubjectStatement(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
SubjectStatement
instance from the given Element node.element
- A SubjectStatement element.systemId
- The URI string system ID for the SubjectStatement
.org.w3c.dom.DOMException
protected SubjectStatement(org.w3c.dom.Document owner, java.lang.String uri, java.lang.String localName) throws org.w3c.dom.DOMException
SubjectStatement
instance.owner
- The owner document of the new SubjectStatement.nsURI
- The namespace URI in which the new SubjectStatement is to be created.localName
- The localName of the element represented by the class that extends this abstract class.org.w3c.dom.DOMException
public void setSubject(Subject subject)
Subject
element.subject
- A Subject
object representing the principal of the statement.public Subject getSubject()
Subject
of this SubjectStatement
element.Subject
element representing the principal of the statement.