entities
Class Access

java.lang.Object
  extended byentities.Access

public class Access
extends java.lang.Object

The Access class represents an access specifier found in a C++ class. Every time a specifier ("public", "protected", "private" or "friend") is found, a new Access object is created and added to the corresponding class. Therefore, all the entities (methods, attributes, ...) that refer to that access specifier are associated to it. In this way it is possible remove the class specifiers in case all the entities associated to it are removed during the filtering phase.


Constructor Summary
Access(java.lang.String keyword)
          Construct a new Access object corresponding to the found access specifier
 
Method Summary
 void addObject(java.lang.Object obj)
          Add a new entity to the Access object
 java.lang.String getKeyword()
           
 java.util.Vector getObjects()
           
 void print(java.lang.String indentation)
          Print all information of a Access object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Access

public Access(java.lang.String keyword)
Construct a new Access object corresponding to the found access specifier

Parameters:
keyword - is the keyword corresponding to the found access specifier (private, protected, public, friend)
Method Detail

addObject

public void addObject(java.lang.Object obj)
Add a new entity to the Access object


getKeyword

public java.lang.String getKeyword()
Returns:
the String corresponding to the access keyword (private, protected, public, friend)

getObjects

public java.util.Vector getObjects()
Returns:
the Vector of Object objects associated to the keyword

print

public void print(java.lang.String indentation)
Print all information of a Access object