|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface describes a fragment of Scripture text - be it
a verse, chapter, book or other textual fragment. This textual
fragment should remember its parent (which could be null
if needed) and ID (this will be used e. g. as XML identifier)
| Method Summary | |
FragmentData |
getData()
Returns actual fragment contents, be it normal String, XML Node or other user specified type. |
DataSource |
getDataSource()
|
Edition |
getEdition()
Returns the unit descriptive meta-information (e.g. language, year of issue etc) of this fragment. |
FID |
getID()
Returns a String representing this fragment's identifier. |
BibleFragment |
getParent()
Returns the parent text fragment - typically parent to verse is chapter, parent to chapter is book, which are actually BibleFragments, too. |
FragmentType |
getType()
Returns this fragment“s type - whether it is chapter, book or other user-defined textual unit. |
void |
setData(FragmentData data)
|
void |
setDataSource(DataSource dataSource)
|
void |
setEdition(Edition edition)
Allows to set the appropriate Edition for this fragment. |
void |
setID(FID id)
Sets this fragment's ID to id. |
void |
setParent(BibleFragment parent)
Sets the parent text fragment to parent. |
void |
setType(FragmentType type)
Sets this fragment's type. |
| Method Detail |
public BibleFragment getParent()
null
public void setParent(BibleFragment parent)
parent.
public FragmentType getType()
public void setType(FragmentType type)
public FID getID()
public void setID(FID id)
id. The ID should not
be null.
public void setEdition(Edition edition)
public Edition getEdition()
public FragmentData getData()
public void setData(FragmentData data)
public void setDataSource(DataSource dataSource)
public DataSource getDataSource()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||