public boolean contains(Key key) { Passage ref = KeyUtil.getPassage(key); return containsAll(ref); }
/** * Get a Passage containing all the Verses in this Versification. * This differs from {@link org.crosswire.jsword.book.Book#getGlobalKeyList} which gets the * verses in the Book, which may be a small part of the whole. * * @param v11n * The Versification to which this Passage belongs. * @return the Passage with all the Verses in the Versification */ public Key getGlobalKeyList(Versification v11n) { return new ReadOnlyPassage(KeyUtil.getPassage(v11n.getAllVerses()), true); }
final Passage ref = KeyUtil.getPassage(key); final Iterator<VerseRange> rit = ref.rangeIterator(RestrictionType.CHAPTER); while (rit.hasNext()) {
Passage ref = VersificationsMapper.instance().map(KeyUtil.getPassage(key), this.getVersification());
Passage ref = KeyUtil.getPassage(key); ref.trimVerses(35); dummyDisplay(ref);
passages[i] = VersificationsMapper.instance().map(KeyUtil.getPassage(key), getVersification(i)); Passage passageOfInterest = KeyUtil.getPassage(verseInRelavantBookContents); Iterator<Key> passageKeys = passageOfInterest.iterator(); while (passageKeys.hasNext()) {