Package | Description |
---|---|
org.crosswire.jsword.versification |
The core responsibility of the versification package is to understand verse references.
|
Modifier and Type | Field and Description |
---|---|
private Map<QualifiedKey,Passage> |
VersificationToKJVMapper.fromKJVMappings |
private Map<VerseKey,List<QualifiedKey>> |
VersificationToKJVMapper.toKJVMappings |
Modifier and Type | Method and Description |
---|---|
static QualifiedKey |
QualifiedKey.create(VerseKey k)
Create a QualifiedKey from a Verse or a VerseRange.
|
private QualifiedKey |
VersificationToKJVMapper.getAbsentQualifiedKey(Versification versification,
String versesKey)
Deals with absent markers, whether absent in the KJV or absent in the current versification.
|
private QualifiedKey |
VersificationToKJVMapper.getExistingQualifiedKey(Versification versification,
String versesKey)
Deals with real keys found in the versification.
|
private QualifiedKey |
VersificationToKJVMapper.getOffsetQualifiedKey(Versification versification,
String versesKey,
VerseKey offsetBasis)
Deals with offset markers, indicating a passage is +x or -x verses from this one.
|
private QualifiedKey |
VersificationToKJVMapper.getRange(Versification versification,
String versesKey,
VerseKey offsetBasis)
Expands a reference to all its verses
|
QualifiedKey |
QualifiedKey.reversify(Versification target)
Convert this QualifiedKey from one Versification to another.
|
Modifier and Type | Method and Description |
---|---|
private List<QualifiedKey> |
VersificationToKJVMapper.getQualifiedKeys(Key leftKey) |
List<QualifiedKey> |
VersificationToKJVMapper.map(QualifiedKey qualifiedKey)
Maps the full qualified key to its proper equivalent in the KJV.
|
Modifier and Type | Method and Description |
---|---|
private void |
VersificationToKJVMapper.add1ToManyMappings(Verse leftHand,
QualifiedKey kjvHand)
A simple two way entry between 2 1-1 entries.
|
private void |
VersificationToKJVMapper.addForwardMappingFromSingleKeyToRange(Verse leftHand,
QualifiedKey kjvHand)
Adds a forward mappings from left to KJV.
|
private void |
VersificationToKJVMapper.addKJVToMapping(QualifiedKey kjvVerses,
Verse leftKey)
If leftKey is non-null (i.e.
|
private void |
VersificationToKJVMapper.addManyToMany(QualifiedKey leftHand,
QualifiedKey kjvVerses)
Adds a many to many mapping, mappings all the verses on the left hand side to all the verses on the right hand side.
|
private void |
VersificationToKJVMapper.addMappings(QualifiedKey leftHand,
QualifiedKey kjvVerses)
Adds a 1-Many mapping, by simply listing out all the properties.
|
private void |
VersificationToKJVMapper.addReverse1ToManyMappings(Verse leftHand,
QualifiedKey kjvHand)
Adds the data into the reverse mappings.
|
abstract String |
QualifiedKey.Qualifier.getDescription(QualifiedKey q) |
private VerseKey |
VersificationToKJVMapper.getNonEmptyKey(Map<QualifiedKey,Passage> mappings,
QualifiedKey key)
Gets a non-empty key list, either new or the one existing in the map already.
|
List<QualifiedKey> |
VersificationToKJVMapper.map(QualifiedKey qualifiedKey)
Maps the full qualified key to its proper equivalent in the KJV.
|
VerseKey |
VersificationToKJVMapper.unmap(QualifiedKey kjvVerse)
Converts a KJV verse to the target versification, from a qualified key, rather than a real key
|
Modifier and Type | Method and Description |
---|---|
private VerseKey |
VersificationsMapper.getKeyFromQualifiedKeys(Versification versification,
List<QualifiedKey> kjvVerses) |
private VerseKey |
VersificationToKJVMapper.getNonEmptyKey(Map<QualifiedKey,Passage> mappings,
QualifiedKey key)
Gets a non-empty key list, either new or the one existing in the map already.
|
private VerseKey |
VersificationsMapper.guessKeyFromKjvVerses(Versification targetVersification,
List<QualifiedKey> kjvVerses)
This is a last attempt at trying to get something, on the basis that
something is better than nothing.
|