Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

Permissions Class Reference

Inherits java::security::PermissionCollection, and java::io::Serializable.

List of all members.


Detailed Description

A heterogeneous collection of permissions.

Public Member Functions

void add (Permission permission)
 Adds the argument to the collection.
Enumeration< Permissionelements ()
 Answers an enumeration of the permissions in the receiver.
boolean implies (Permission permission)
 Indicates whether the argument permission is implied by the permissions contained in the receiver.

Private Member Functions

void readObject (java.io.ObjectInputStream in) throws IOException, ClassNotFoundException
 Reads the object from stream and checks for consistency.
void writeObject (java.io.ObjectOutputStream out) throws IOException
 Outputs fields via default mechanism.

Private Attributes

transient Map klasses = new HashMap()
boolean allEnabled
 .intel.drl.spec_ref

Static Private Attributes

static final long serialVersionUID = 4858622370623524688L
 .intel.drl.spec_ref
static final ObjectStreamField[] serialPersistentFields

Classes

class  MetaEnumeration
 An auxiliary implementation for enumerating individual permissions from a collection of PermissionCollections. More...

Member Function Documentation

void add ( Permission  permission  )  [virtual]

Adds the argument to the collection.

Parameters:
permission java.security.Permission the permission to add to the collection

Implements PermissionCollection.

Enumeration<Permission> elements (  )  [virtual]

Answers an enumeration of the permissions in the receiver.

Returns:
Enumeration the permissions in the receiver.

Implements PermissionCollection.

boolean implies ( Permission  permission  )  [virtual]

Indicates whether the argument permission is implied by the permissions contained in the receiver.

Returns:
boolean true if the argument permission is implied by the permissions in the receiver, and false if it is not.
Parameters:
permission java.security.Permission the permission to check

Implements PermissionCollection.

void readObject ( java.io.ObjectInputStream  in  )  throws IOException, ClassNotFoundException [private]

Reads the object from stream and checks for consistency.

void writeObject ( java.io.ObjectOutputStream  out  )  throws IOException [private]

Outputs fields via default mechanism.


Member Data Documentation

final long serialVersionUID = 4858622370623524688L [static, private]

.intel.drl.spec_ref

Reimplemented from PermissionCollection.

final ObjectStreamField [] serialPersistentFields [static, private]

Initial value:

 {
        new ObjectStreamField("perms", Hashtable.class), 
        new ObjectStreamField("allPermission", PermissionCollection.class), }

transient Map klasses = new HashMap() [private]

boolean allEnabled [private]

.intel.drl.spec_ref