|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmaiolum.BibleModule
maiolum.xml.XMLBibleModule
Represents concept of one or many BibleFragments contained in one XML file. One physical XML file containing BibleFragments data is mapped to one XMLBibleModule object. However, actual DOM representation of the data contained in the XML file are maintained by XMLBibleFragmentFactory associated with this module.
| Field Summary | |
protected Edition |
edition
Contains metadata about this module. |
protected XMLBibleFragmentFactory |
factory
XMLBibleFragment factory associated with this module. |
private static org.apache.log4j.Logger |
logger
Provides logging facility for this class; |
protected java.lang.String |
URI
Contains URI - actually location of the XML file represented by this module in the filesystem. |
| Constructor Summary | |
XMLBibleModule(java.lang.String URI,
Edition edition)
Creates new XMLBibleModule from the XML file specified by URI and associates given Edition with this module. |
|
| Method Summary | |
protected void |
finalize()
|
Edition |
getEdition()
Returns Edition associated with this module. |
BibleFragmentFactory |
getFactory()
Retrieves BibleFragmentFactory associated with this object. |
java.lang.String |
getURI()
Retrieves URI of the file, from which were the data loaded. |
void |
setEdition(Edition edition)
Associates given Edition with this module. |
void |
setFactory(XMLBibleFragmentFactory value)
|
void |
setURI(java.lang.String value)
Associates given URI with the XML file containing data with this module. |
| Methods inherited from class maiolum.BibleModule |
setFactory |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static org.apache.log4j.Logger logger
protected Edition edition
protected java.lang.String URI
protected XMLBibleFragmentFactory factory
maiolum.xml.BibleFragmentFactory.| Constructor Detail |
public XMLBibleModule(java.lang.String URI,
Edition edition)
throws java.lang.Exception
| Method Detail |
public Edition getEdition()
getEdition in class BibleModulepublic void setEdition(Edition edition)
setEdition in class BibleModulepublic java.lang.String getURI()
public void setURI(java.lang.String value)
public BibleFragmentFactory getFactory()
getFactory in class BibleModulepublic void setFactory(XMLBibleFragmentFactory value)
protected void finalize()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||