|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmaiolum.ModuleManager
maiolum.xml.XMLModuleManager
Represents container holding the BibleModules.
| Nested Class Summary | |
class |
XMLModuleManager.XMLModuleBibleFragmentFactory
This implementation of BibleFragmentFactory serves
for retrieving BibleFragments from "subfactories" of modules
maintained by outer XMLModuleManager.
|
| Field Summary | |
private XMLModuleManager.XMLModuleBibleFragmentFactory |
factory
Factory, which gives unified access to BibleFragments throughout the all BibleModules in this ModuleManager. |
private static org.apache.log4j.Logger |
logger
Internal logger associated with this class |
private java.util.Vector |
modules
Internal container holding the BibleModule objects. |
| Constructor Summary | |
XMLModuleManager()
Empty constructor, does nothing. |
|
| Method Summary | |
void |
add(BibleModule module)
Adds given BibleModule to this ModuleManager. |
void |
add(java.lang.String URI,
Edition edition)
Constructs the new BibleModule from the file specified by given URI, makes an association with given Edition and adds it ModuleManager |
Edition[] |
getAvailableEditions()
Retrieves list of all available Editions throughout all BibleModules loaded in this ModuleManager. |
XMLModuleManager.XMLModuleBibleFragmentFactory |
getFactory()
Returns the factory associated with this ModuleManager. |
BibleModule |
getModule(int i)
Retrieves i-th BibleModule from the BibleManager. |
int |
getSize()
Returns number of BibleModules contained in this ModuleManager. |
static void |
main(java.lang.String[] args)
|
void |
setFactory(XMLModuleManager.XMLModuleBibleFragmentFactory factory)
Associates given factory with this ModuleManager. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.util.Vector modules
private XMLModuleManager.XMLModuleBibleFragmentFactory factory
private static org.apache.log4j.Logger logger
| Constructor Detail |
public XMLModuleManager()
throws java.lang.Exception
| Method Detail |
public void add(java.lang.String URI,
Edition edition)
throws java.lang.Exception
add in class ModuleManagerjava.lang.Exception
public void add(BibleModule module)
throws java.lang.Exception
add in class ModuleManagerjava.lang.Exceptionpublic BibleModule getModule(int i)
getModule in class ModuleManagerpublic int getSize()
getSize in class ModuleManagerpublic XMLModuleManager.XMLModuleBibleFragmentFactory getFactory()
public void setFactory(XMLModuleManager.XMLModuleBibleFragmentFactory factory)
public Edition[] getAvailableEditions()
public static void main(java.lang.String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||