public class Length
extends oracle.security.xmlsec.util.XMLElement
Modifier | Constructor and Description |
---|---|
|
Length(org.w3c.dom.Document owner, java.lang.String nsURI)
Creates a new
Length instance. |
protected |
Length(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
Creates a new
Length instance. |
|
Length(org.w3c.dom.Element element)
Creates a new
Length instance from the given Element node. |
|
Length(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
Length instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
int |
getMax()
Returns the the maximum number of ASCII characters required in a valid password.
|
int |
getMin()
Returns the the minimum number of ASCII characters required in a valid password.
|
void |
setMax(int number)
Sets the the maximum number of ASCII characters required in a valid password.
|
void |
setMin(int number)
Sets the the minimum number of ASCII characters required in a valid password.
|
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 Length(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
Length
instance from the given Element node.element
- An Length element.org.w3c.dom.DOMException
public Length(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
Length
instance from the given Element node.element
- An Length element.systemId
- The URI string system ID for the Length
.org.w3c.dom.DOMException
public Length(org.w3c.dom.Document owner, java.lang.String nsURI) throws org.w3c.dom.DOMException
Length
instance.owner
- The owner document of the new Length.nsURI
- The namespace URI in which the new Length is to be created.org.w3c.dom.DOMException
protected Length(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
Length
instance. This constructor is for use in subclass for extension of the Length element.owner
- The owner document of the new Length.nsURI
- The namespace URI in which the new Length is to be created.localName
- The localName of the element represented by the class that extends this class.org.w3c.dom.DOMException
public void setMin(int number)
number
- An unsigned integer.public int getMin()
0
if an invalid value is present.public void setMax(int number)
number
- An unsigned integer.public int getMax()