maiolum
Class ModuleManager

java.lang.Object
  extended bymaiolum.ModuleManager
Direct Known Subclasses:
XMLModuleManager

public abstract class ModuleManager
extends java.lang.Object

Container for holding and/or managing BibleModules.


Constructor Summary
ModuleManager()
           
 
Method Summary
abstract  void add(BibleModule module)
          Adds an instance of BibleModule to ModuleManager.
abstract  void add(java.lang.String URI, Edition edition)
          Adds new module specified by its URI and edition data to ModuleManager .
abstract  BibleModule getModule(int i)
          Retrieves -th BibleModule from underlying container.
abstract  int getSize()
          Returns number of BibleModules in this ModuleManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleManager

public ModuleManager()
Method Detail

add

public abstract void add(java.lang.String URI,
                         Edition edition)
                  throws java.lang.Exception
Adds new module specified by its URI and edition data to ModuleManager .

Throws:
java.lang.Exception

add

public abstract void add(BibleModule module)
                  throws java.lang.Exception
Adds an instance of BibleModule to ModuleManager.

Throws:
java.lang.Exception

getModule

public abstract BibleModule getModule(int i)
Retrieves -th BibleModule from underlying container.


getSize

public abstract int getSize()
Returns number of BibleModules in this ModuleManager.