public class Generation
extends oracle.security.xmlsec.util.XMLElement
Modifier and Type | Class and Description |
---|---|
static class |
Generation.GenerationType
Represents the password generation mechanism.
|
Modifier | Constructor and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
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 Generation(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
Generation
instance from the given Element node.element
- An Generation element.org.w3c.dom.DOMException
public Generation(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
Generation
instance from the given Element node.element
- An Generation element.systemId
- The URI string system ID for the Generation
.org.w3c.dom.DOMException
protected Generation(org.w3c.dom.Document owner, java.lang.String nsURI) throws org.w3c.dom.DOMException
Generation
instance.owner
- The owner document of the new Generation.nsURI
- The namespace URI in which the new Generation is to be created.org.w3c.dom.DOMException
protected Generation(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
Generation
instance. This constructor is for use in subclass for extension of the Generation element.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.org.w3c.dom.DOMException
public void setMechanism(Generation.GenerationType mech)
mech
- The GenerationType
object.public Generation.GenerationType getMechanism()
GenerationType
object or null
if not present.