|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DivisionName>
org.crosswire.jsword.versification.DivisionName
public enum DivisionName
DivisionName deals with traditional sections of the Bible. AV11N(DMS): Is this right?
The GNU Lesser General Public License for details.
Enum Constant Summary | |
---|---|
BIBLE
BIBLE consists of the entire/whole Bible (Gen - Rev) |
|
GENERAL_LETTERS
LETTERS consists of the general letters/epistles (Jas-Jud) |
|
GOSPELS_AND_ACTS
GOSPELS_AND_ACTS consists of the 4 Gospels and Acts (Mat-Acts) |
|
HISTORY
HISTORY consists of the history in the Old Testament of Israel |
|
LETTERS
LETTERS consists of the letters/epistles (Rom-Jud) |
|
MAJOR_PROPHETS
MAJOR_PROPHETS consists of the major prophets (Isa-Dan) |
|
MINOR_PROPHETS
MINOR_PROPHETS consists of the minor prophets (Hos-Mal) |
|
NEW_TESTAMENT
NEW_TESTAMENT consists of the new testament (Mat - Rev) |
|
OLD_TESTAMENT
OLD_TESTAMENT consists of the old testament (Gen - Mal) |
|
PAULINE_LETTERS
LETTERS consists of the Pauline letters/epistles (Rom-Heb) |
|
PENTATEUCH
PENTATEUCH consists of the 5 books of Moses (Gen - Deu) |
|
POETRY
POETRY consists of the poetic works (Job-Song) |
|
PROPHECY
PROPHECY consists of the Deu 28, major prophets, minor prophets, Revelation (Isa-Mal, Rev) |
|
REVELATION
REVELATION consists of the book of Revelation (Rev) |
Method Summary | |
---|---|
abstract boolean |
contains(BibleBook book)
Determine whether the book is contained within the section. |
abstract String |
getName()
Obtain a localized string description of the section. |
abstract String |
getRange()
Obtain a string representation of the scope of the section. |
static DivisionName |
getSection(BibleBook book)
Determine the section to which this book belongs. |
abstract int |
getSize()
Get the number of whole books in the section. |
String |
toString()
|
static DivisionName |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DivisionName[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DivisionName BIBLE
public static final DivisionName OLD_TESTAMENT
public static final DivisionName PENTATEUCH
public static final DivisionName HISTORY
public static final DivisionName POETRY
public static final DivisionName PROPHECY
public static final DivisionName MAJOR_PROPHETS
public static final DivisionName MINOR_PROPHETS
public static final DivisionName NEW_TESTAMENT
public static final DivisionName GOSPELS_AND_ACTS
public static final DivisionName LETTERS
public static final DivisionName PAULINE_LETTERS
public static final DivisionName GENERAL_LETTERS
public static final DivisionName REVELATION
Method Detail |
---|
public static DivisionName[] values()
for (DivisionName c : DivisionName.values()) System.out.println(c);
public static DivisionName valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic abstract boolean contains(BibleBook book)
book
-
public abstract int getSize()
public abstract String getName()
public abstract String getRange()
public String toString()
toString
in class Enum<DivisionName>
public static DivisionName getSection(BibleBook book)
book
- The book to test
|
Copyright ยจ 2003-2015 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |