Oracle Security Developer Tools SAML 1.0/1.1 Java API Reference
10g (10.1.4.0.1)

B28173-01


oracle.security.xmlsec.saml
Class SubjectStatement

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.saml.Statement
              extended byoracle.security.xmlsec.saml.SubjectStatement

Direct Known Subclasses:
AttributeStatement, AuthenticationStatement, AuthorizationDecisionStatement

public abstract class SubjectStatement
extends Statement

An abstract class representing a 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.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
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.

 

Method Summary
 Subject getSubject()
          Gets the Subject of this SubjectStatement element.
 void setSubject(Subject subject)
          Sets the Subject element.

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix

 

Methods inherited from class oracle.security.xmlsec.util.XMLNode
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

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SubjectStatement

protected SubjectStatement(org.w3c.dom.Element element)
                    throws org.w3c.dom.DOMException
Creates a new SubjectStatement instance from the given Element node.
Parameters:
element - A SubjectStatement element.

SubjectStatement

protected SubjectStatement(org.w3c.dom.Element element,
                           java.lang.String systemId)
                    throws org.w3c.dom.DOMException
Creates a new SubjectStatement instance from the given Element node.
Parameters:
element - A SubjectStatement element.
systemId - The URI string system ID for the SubjectStatement.

SubjectStatement

protected SubjectStatement(org.w3c.dom.Document owner,
                           java.lang.String uri,
                           java.lang.String localName)
                    throws org.w3c.dom.DOMException
Creates a new SubjectStatement instance.
Parameters:
owner - The owner document of the new SubjectStatement.
localName - The localName of the element represented by the class that extends this abstract class.

Method Detail

setSubject

public void setSubject(Subject subject)
Sets the Subject element.
Parameters:
subject - A Subject object representing the principal of the statement.

getSubject

public Subject getSubject()
Gets the Subject of this SubjectStatement element.
Returns:
A Subject element representing the principal of the statement.

Oracle Security Developer Tools SAML 1.0/1.1 Java API Reference
10g (10.1.4.0.1)

B28173-01


Copyright © 2005, 2006 , Oracle. All rights reserved.