|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.bea.security.AttributeValueEnumeration
This class represents an ordered list of NameAttributeValues.
It provides an enumeration interface to a list of NamAttributeValues as well as
several methods to return differrent views of that list.
NOTE: This class is not thread safe since several threads that get elements from the enumeration can compete with each other.
| Constructor Summary | |
AttributeValueEnumeration(java.util.Enumeration enm)
Constructs an AttributeValueEnumeration from an enumeration of NameAttributeValues. |
|
AttributeValueEnumeration(java.util.Vector vec)
Construct an AttributeValueEnumeration from a Vector of NameAttributeValues. |
|
| Method Summary | |
java.util.Vector |
getKeyVector()
Gets a Vector that contains the keys of the contained
NameAttributeValues. |
java.util.Vector |
getValueVector()
Gets a Vector that contains the values of the contained NameAttributeValues |
boolean |
hasMoreElements()
Determines if nextElement will return a valid element. |
java.lang.Object |
nextElement()
Gets the next element in the enumeration. |
void |
reset()
Resets the position of the enumeration to the beginning. |
java.util.Vector |
toVector()
Gets this enumeration as a Vector of NameAttributeValues. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public AttributeValueEnumeration(java.util.Vector vec)
Vector of NameAttributeValues.public AttributeValueEnumeration(java.util.Enumeration enm)
NameAttributeValues.| Method Detail |
public void reset()
public java.util.Vector toVector()
Vector of NameAttributeValues.
Vector containing all the NameAttributeValues
in this enumeration.public java.util.Vector getKeyVector()
Vector that contains the keys of the contained
NameAttributeValues.
Vector containing the key names (Strings) of the
NameAttributeValues contained in this enumeration.public java.util.Vector getValueVector()
Vector that contains the values of the contained NameAttributeValues
Vector containing the values (Objects) of the NameAttributeValues
contained in this enumerationpublic boolean hasMoreElements()
nextElement will return a valid element.
true if there is a valid element to fetch; otherwise, return
false.public java.lang.Object nextElement()
NameAttributeValue that is the next element in the enumeration.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||