Skip navigation links

Oracle Security Developer Tools SAML 2.0 Java API Reference
11g (11.1.1)

E10676-02


oracle.security.xmlsec.saml2.ac
Class Generation

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.ac.Generation


public class Generation
extends oracle.security.xmlsec.util.XMLElement

Represents how the password was chosen.


Nested Class Summary
static class Generation.GenerationType
          Represents the password generation mechanism.

 

Field Summary

 

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

 

Constructor Summary
protected Generation(org.w3c.dom.Document owner, java.lang.String nsURI)
          Creates a new Generation instance.
protected Generation(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          Creates a new Generation instance.
  Generation(org.w3c.dom.Element element)
          Creates a new Generation instance from the given Element node.
  Generation(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new Generation instance from the given Element node.

 

Method Summary
 Generation.GenerationType getMechanism()
          Returns the mechanism by identifying how the password is chosen.
 void setMechanism(Generation.GenerationType mech)
          Sets the mechanism by identifying how the password is chosen.

 

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

Generation

public Generation(org.w3c.dom.Element element)
           throws org.w3c.dom.DOMException
Creates a new Generation instance from the given Element node.
Parameters:
element - An Generation element.
Throws:
org.w3c.dom.DOMException

Generation

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

Generation

protected Generation(org.w3c.dom.Document owner,
                     java.lang.String nsURI)
              throws org.w3c.dom.DOMException
Creates a new Generation instance.
Parameters:
owner - The owner document of the new Generation.
nsURI - The namespace URI in which the new Generation is to be created.
Throws:
org.w3c.dom.DOMException

Generation

protected Generation(org.w3c.dom.Document owner,
                     java.lang.String nsURI,
                     java.lang.String localName)
              throws org.w3c.dom.DOMException
Creates a new Generation instance. This constructor is for use in subclass for extension of the Generation element.
Parameters:
owner - The owner document of the new Generation.
nsURI - The namespace URI in which the new Generation 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

setMechanism

public void setMechanism(Generation.GenerationType mech)
Sets the mechanism by identifying how the password is chosen.
Parameters:
mech - The GenerationType object.

getMechanism

public Generation.GenerationType getMechanism()
Returns the mechanism by identifying how the password is chosen.
Returns:
The GenerationType object or null if not present.

Skip navigation links

Oracle Security Developer Tools SAML 2.0 Java API Reference
11g (11.1.1)

E10676-02


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