PkgAgentSystem
Class PermissionsEnumerator
java.lang.Object
|
+--PkgAgentSystem.PermissionsEnumerator
- final class PermissionsEnumerator
- extends Object
- implements Enumeration
A PermissionsEnumerator enumerates all the Permission objects in all the PermissionCollections
of a Permissions object.
- Version:
- 1.37, 98/12/01
- Author:
- Roland Schemers
- See Also:
Permissions
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
PermissionsEnumerator
PermissionsEnumerator(Enumeration e)
- Create a new enumeration for all sub-permissions
- Parameters:
e
- enumeration of all PermissionCollections of a Permissions object
hasMoreElements
public boolean hasMoreElements()
- Returns true if there are more permissions available.
- Specified by:
- hasMoreElements in interface Enumeration
- Returns:
true
if more permissions are available
nextElement
public Object nextElement()
- Returns the next permission.
- Specified by:
- nextElement in interface Enumeration
- Returns:
- the next permission
- Throws:
- NoSuchElementException - if no more permissions are available
Submit a bug
Copyright 2000 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.