SiteMinder
Java SDK r12.5


netegrity.siteminder.javaagent
Class AttributeList

java.lang.Object
  extended by netegrity.siteminder.javaagent.AttributeList

public class AttributeList
extends java.lang.Object

Represents the (unordered) collection of response attributes from the Agent API.

Since:
SiteMinder 4.0
See Also:
AgentAPI, Attribute

Constructor Summary
AttributeList()
          Creates an empty collection of attributes.
 
Method Summary
 void addAttribute(Attribute a)
          Adds an attribute to the collection.
 void addAttribute(int id, int ttl, int flags, java.lang.String oid, byte[] value)
          Adds an attribute to the collection, given its constituent pieces.
 java.util.Enumeration attributes()
          Provides an enumeration of the attributes in the collection.
 Attribute getAttributeAt(int index)
          Gets a particular attribute from the collection.
 int getAttributeCount()
          Gets the number of attributes in the collection.
 void removeAllAttributes()
          Removes all attributes from the collection.
 void removeAttribute(Attribute a)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeList

public AttributeList()
Creates an empty collection of attributes.

Method Detail

addAttribute

public void addAttribute(Attribute a)
Adds an attribute to the collection.

Parameters:
a - The attribute to be added.

removeAttribute

public void removeAttribute(Attribute a)

addAttribute

public void addAttribute(int id,
                         int ttl,
                         int flags,
                         java.lang.String oid,
                         byte[] value)
Adds an attribute to the collection, given its constituent pieces.

Parameters:
id - the The Id of the attribute.
p_ttl - The TTL value of this attribute.
p_flags - the flags for this attribute.
p_oid - The OID for this attribute.
value - The value of the attribute array.

getAttributeCount

public int getAttributeCount()
Gets the number of attributes in the collection.

Returns:
The number of attributes in the collection.

getAttributeAt

public Attribute getAttributeAt(int index)
Gets a particular attribute from the collection.

Parameters:
index - The index into the collection (zero-based).
Returns:
The specified attribute.

removeAllAttributes

public void removeAllAttributes()
Removes all attributes from the collection.


attributes

public java.util.Enumeration attributes()
Provides an enumeration of the attributes in the collection.

Returns:
An Enumeration of the attributes

SiteMinder
Java SDK r12.5

Thu 09/08/2011

http://ca.com
Copyright (c) 2011 CA.