Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-04


oracle.security.xmlsec.saml2.core
Class Condition

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.core.Condition

Direct Known Subclasses:
AudienceRestriction, OneTimeUse, ProxyRestriction

public abstract class Condition
extends oracle.security.xmlsec.util.XMLElement

Represents a constraint on the use of SAML assertions.

Sub-classes will extend this class to define new conditions and should 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 Condition(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          Creates a new Condition instance.
protected Condition(org.w3c.dom.Element element)
          Creates a new Condition instance from the given Element node.
protected Condition(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new Condition instance from the given Element node.

 

Method Summary
protected  oracle.security.xmlsec.util.QName getXsiType()
          Returns the XML Schema xsi:type attribute to identify the saml:condition
protected  void setXsiType(oracle.security.xmlsec.util.QName type)
          Set the XML Schema xsi:type attribute to identify the saml:condition.

 

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

 

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

Condition

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

Condition

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

Condition

protected Condition(org.w3c.dom.Document owner,
                    java.lang.String nsURI,
                    java.lang.String localName)
             throws org.w3c.dom.DOMException
Creates a new Condition instance. This is for use in any sub-class for extension of the Condition element.
Parameters:
owner - The owner document of the new Condition.
nsURI - The namespace URI in which the new Condition is to be created.
localName - The localName of the element represented by the class that extends this class.
Throws:
org.w3c.dom.DOMException

Method Detail

setXsiType

protected void setXsiType(oracle.security.xmlsec.util.QName type)
Set the XML Schema xsi:type attribute to identify the saml:condition.
Parameters:
type - The QName reference.

getXsiType

protected oracle.security.xmlsec.util.QName getXsiType()
Returns the XML Schema xsi:type attribute to identify the saml:condition
Returns:
The QName reference or null if not specified.

Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-04


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