public class Length extends ACElement
Length element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).authenticationContextClass| Constructor and Description |
|---|
Length(org.w3c.dom.Document owner, AuthenticationContextStatement acs)
Creates a new
KeyStorage instance in the given document with the given authentication context. |
Length(org.w3c.dom.Document owner, AuthenticationContextStatement acs, int min)
Creates a new
KeyStorage instance in the given document with the given authentication context. |
Length(org.w3c.dom.Element element, AuthenticationContextStatement acs)
Creates a new
Length object that wraps the given Element object. |
Length(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)
Creates a new
Length object that wraps the given Element object. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getMax()
Returns the
max attribute for this Length element, or null if none has been set. |
java.lang.Integer |
getMin()
Returns the
min attribute for this Length element, or null if none has been set. |
void |
setMax(int max)
Sets the
max attribute for this Length element. |
void |
setMin(int min)
Sets the
min attribute for this Length element. |
getAuthenticationContextClass, setAuthenticationContextClassaddNSPrefixAttr, 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, setDefaultNSPrefixappendChild, 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,
AuthenticationContextStatement acs)
Length object that wraps the given Element object.element - The underlying org.w3c.dom.Element object.acs - The authentication context for the element.
public Length(org.w3c.dom.Element element,
java.lang.String systemId,
AuthenticationContextStatement acs)
Length object that wraps the given Element object.element - The underlying org.w3c.dom.Element object.systemId - The URI string system ID for the Length.acs - The authentication context for the element.
public Length(org.w3c.dom.Document owner,
AuthenticationContextStatement acs)
KeyStorage instance in the given document with the given authentication context.owner - The owner document for this new element.acs - The authentication context for this new element.
public Length(org.w3c.dom.Document owner,
AuthenticationContextStatement acs,
int min)
throws AuthenticationContextException
KeyStorage instance in the given document with the given authentication context.owner - The owner document for this new element.acs - The authentication context for this new element.min - The min attribute.AuthenticationContextException - If the min value is invalid for this element's authentication context class.
public void setMin(int min)
throws AuthenticationContextException
min attribute for this Length element.min - The attribute value.AuthenticationContextException - If the min value is invalid for this element's authentication context class.public java.lang.Integer getMin()
min attribute for this Length element, or null if none has been set.
public void setMax(int max)
throws AuthenticationContextException
max attribute for this Length element.max - The attribute value.AuthenticationContextException - If the max value is invalid for this element's authentication context class.public java.lang.Integer getMax()
max attribute for this Length element, or null if none has been set.