Skip navigation links

Oracle Security Developer Tools Liberty 1.1 Java API Reference
11g (11.1.1)

E10670-02


oracle.security.xmlsec.liberty.v11.ac
Class Length

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.liberty.v11.ac.ACElement
              extended by oracle.security.xmlsec.liberty.v11.ac.Length


public class Length
extends ACElement

Class representing the Length element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).

Since:
1.0

Field Summary

 

Fields inherited from class oracle.security.xmlsec.liberty.v11.ac.ACElement
authenticationContextClass

 

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

 

Constructor Summary
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.

 

Method Summary
 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.

 

Methods inherited from class oracle.security.xmlsec.liberty.v11.ac.ACElement
getAuthenticationContextClass, setAuthenticationContextClass

 

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

Length

public Length(org.w3c.dom.Element element,
              AuthenticationContextStatement acs)
Creates a new Length object that wraps the given Element object.
Parameters:
element - The underlying org.w3c.dom.Element object.
acs - The authentication context for the element.

Length

public Length(org.w3c.dom.Element element,
              java.lang.String systemId,
              AuthenticationContextStatement acs)
Creates a new Length object that wraps the given Element object.
Parameters:
element - The underlying org.w3c.dom.Element object.
systemId - The URI string system ID for the Length.
acs - The authentication context for the element.

Length

public Length(org.w3c.dom.Document owner,
              AuthenticationContextStatement acs)
Creates a new KeyStorage instance in the given document with the given authentication context.
Parameters:
owner - The owner document for this new element.
acs - The authentication context for this new element.

Length

public Length(org.w3c.dom.Document owner,
              AuthenticationContextStatement acs,
              int min)
       throws AuthenticationContextException
Creates a new KeyStorage instance in the given document with the given authentication context.
Parameters:
owner - The owner document for this new element.
acs - The authentication context for this new element.
min - The min attribute.
Throws:
AuthenticationContextException - If the min value is invalid for this element's authentication context class.

Method Detail

setMin

public void setMin(int min)
            throws AuthenticationContextException
Sets the min attribute for this Length element.
Parameters:
min - The attribute value.
Throws:
AuthenticationContextException - If the min value is invalid for this element's authentication context class.

getMin

public java.lang.Integer getMin()
Returns the min attribute for this Length element, or null if none has been set.

setMax

public void setMax(int max)
            throws AuthenticationContextException
Sets the max attribute for this Length element.
Parameters:
max - The attribute value.
Throws:
AuthenticationContextException - If the max value is invalid for this element's authentication context class.

getMax

public java.lang.Integer getMax()
Returns the max attribute for this Length element, or null if none has been set.

Skip navigation links

Oracle Security Developer Tools Liberty 1.1 Java API Reference
11g (11.1.1)

E10670-02


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