agg.attribute.handler
Class AvailableHandlers

java.lang.Object
  extended by agg.attribute.handler.AvailableHandlers

public class AvailableHandlers
extends java.lang.Object

The purpose of this class, being the only class in a package of interfaces, is that an attribute manager knows where to find its handlers. Whenever a new handler is installed, its fully qualified pathname has to be added to the static array 'nameList'. That's all a new Handler has to do besides, of course, implementing those methods. All an attribute manager has to do is (besides implementing the SymbolTable interface) calling 'newInstances()'. It then gets an array of attribute handler instances, one for every handler in the mentioned list.


Field Summary
protected static java.lang.String[] nameList
          This is the list to extend by new Handlers.
 
Constructor Summary
AvailableHandlers()
           
 
Method Summary
static AttrHandler[] newInstances()
          This is the method to call by an attribute manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nameList

protected static java.lang.String[] nameList
This is the list to extend by new Handlers.

Constructor Detail

AvailableHandlers

public AvailableHandlers()
Method Detail

newInstances

public static AttrHandler[] newInstances()
This is the method to call by an attribute manager.

Returns:
an array of attribute handler instances, one for every handler in the mentioned list.