Agent System POND 1.0 (1.7.2000)

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

Constructor Summary
(package private) PermissionsEnumerator(Enumeration e)
          Create a new enumeration for all sub-permissions
 
Method Summary
 boolean hasMoreElements()
          Returns true if there are more permissions available.
 Object nextElement()
          Returns the next permission.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionsEnumerator

PermissionsEnumerator(Enumeration e)
Create a new enumeration for all sub-permissions
Parameters:
e - enumeration of all PermissionCollections of a Permissions object
Method Detail

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

Agent System POND 1.0 (1.7.2000)

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.