Package | Description |
---|---|
org.crosswire.jsword.passage |
The core responsibility of the passage package is to store and collate
information about the structure of the Bible - The most important classes are
Passage , PassageTally and Strongs . |
org.crosswire.jsword.versification |
The core responsibility of the versification package is to understand verse references.
|
Modifier and Type | Method and Description |
---|---|
private static NoSuchVerseException |
AccuracyType.buildVersePartsException(String original,
String[] parts) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractPassage.addVerses(String refs,
Key basis)
Create a Passage from a human readable string.
|
private static void |
AccuracyType.checkValidChapterOrVerse(String text)
Is this text valid in a chapter/verse context
|
abstract Verse |
AccuracyType.createEndVerse(Versification v11n,
Verse verseBasis,
String[] endParts) |
Passage |
PassageType.createPassage(Versification v11n,
String passage) |
abstract Passage |
PassageType.createPassage(Versification v11n,
String passage,
Key basis)
Create an optimized passage
|
abstract Verse |
AccuracyType.createStartVerse(Versification v11n,
VerseRange verseRangeBasis,
String[] parts) |
static VerseRange |
VerseRangeFactory.fromString(Versification v11n,
String orginal)
Construct a VerseRange from a human readable string.
|
static Verse |
VerseFactory.fromString(Versification v11n,
String original)
Construct a Verse from a String - something like "Gen 1:1".
|
static VerseRange |
VerseRangeFactory.fromString(Versification v11n,
String original,
VerseRange basis)
Construct a VerseRange from a String and a VerseRange.
|
static Verse |
VerseFactory.fromString(Versification v11n,
String original,
VerseRange verseRangeBasis)
Construct a Verse from a String and a VerseRange.
|
static AccuracyType |
AccuracyType.fromText(Versification v11n,
String original,
String[] parts)
Determine how closely the string defines a verse.
|
static AccuracyType |
AccuracyType.fromText(Versification v11n,
String original,
String[] parts,
AccuracyType verseAccuracy) |
static AccuracyType |
AccuracyType.fromText(Versification v11n,
String original,
String[] parts,
AccuracyType verseAccuracy,
VerseRange basis)
Does this string exactly define a Verse.
|
static AccuracyType |
AccuracyType.fromText(Versification v11n,
String original,
String[] parts,
VerseRange basis) |
private static VerseRange |
VerseRangeFactory.fromText(Versification v11n,
String original,
String startVerseDesc,
String endVerseDesc,
VerseRange basis)
The internal mechanism by which we construct a VerseRange
|
static int |
AccuracyType.getChapter(Versification v11n,
BibleBook lbook,
String chapter)
Interprets the chapter value, which is either a number or "ff" or "$"
(meaning "what follows")
|
static int |
AccuracyType.getVerse(Versification v11n,
BibleBook lbook,
int lchapter,
String verse)
Interprets the verse value, which is either a number or "ff" or "$"
(meaning "what follows")
|
protected static int |
Verse.parseInt(String text)
This is simply a convenience function to wrap Integer.parseInt() and give
us a reasonable exception on failure.
|
private static int |
AccuracyType.parseInt(String text)
This is simply a convenience function to wrap Integer.parseInt() and give
us a reasonable exception on failure.
|
void |
SynchronizedPassage.readDescription(Reader in) |
void |
Passage.readDescription(Reader in)
To be compatible with humans we read/write ourselves to a file that a
human can read and even edit.
|
void |
AbstractPassage.readDescription(Reader in) |
static String[] |
AccuracyType.tokenize(String input)
Take a string representation of a verse and parse it into an Array of
Strings where each part is likely to be a verse part.
|
Constructor and Description |
---|
BitwisePassage(Versification v11n,
String refs)
Create a Verse from a human readable string.
|
BitwisePassage(Versification v11n,
String refs,
Key basis)
Create a Verse from a human readable string.
|
DistinctPassage(Versification v11n,
String refs) |
DistinctPassage(Versification v11n,
String refs,
Key basis)
Create a Verse from a human readable string.
|
PassageTally(Versification v11n,
String refs) |
PassageTally(Versification v11n,
String refs,
Key basis)
Create a Verse from a human readable string.
|
RangedPassage(Versification v11n,
String refs) |
RangedPassage(Versification v11n,
String refs,
Key basis)
Create a Verse from a human readable string.
|
RocketPassage(Versification v11n,
String refs)
Create a Verse from a human readable string.
|
RocketPassage(Versification v11n,
String refs,
Key basis)
Create a Verse from a human readable string.
|
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.addMappings(QualifiedKey leftHand,
QualifiedKey kjvVerses)
Adds a 1-Many mapping, by simply listing out all the properties.
|
void |
Versification.validate(BibleBook book,
int chapter,
int verse)
Does the following represent a real verse?.
|
boolean |
Versification.validate(BibleBook book,
int chapter,
int verse,
boolean silent)
Does the following represent a real verse?.
|