, build a parser that will iterate through the contents of a supplied Bible text document and construct a complete Bible model using the classes constructed in the previous assignment. In addition to the supplied formatted text, be sure to use the BibleParser and SimpleReader classes provided for you.
Unformatted Attachment Preview
CSIS 212 Programming Assignment 5
Building on the previous assignment, build a parser that will iterate through the contents of a supplied
Bible text document and construct a complete Bible model using the classes constructed in the previous
assignment. In addition to the supplied formatted text, be sure to use the BibleParser and SimpleReader
classes provided for you.
The desired learning outcomes of this assignment are as follows:
Understand the basics of markup file parsing.
Understand through example, a composition type class hierarchy.
Perform file operations in Java
Build and use collections of Objects.
1. Complete BibleReader constructor such that the text is correctly parsed and loaded into the
2. Create a menu which prompts the user for a book and chapter number prior to displaying it.
1. Your parser implementation should be in a class named BibleReader located in the bibleloader
package. It will take an existing Bible instance and populate it from the contents of NIVBible.txt.
Hint: You dont have to re-invent the wheel, BibleParser has all the parsing you need.
2. Construct a test class (BibleTest.java) with a main method that does the following.
a. Constructs a new Bible instance.
b. Constructs a BibleReader instance and passes in the appropriate parameters.
c. Prompts the user for a book and chapter to display.
d. Display the specified book and chapter.
3. Construct UML Class Diagrams of ALL classes in the project.
4. Turn project per standard requirements. Be sure to include a screen shot of the output window
showing the output of your project (not all of it, just a screen shot when it finishes).
Correct Program Functionality 0 to 35 points. Submission should demonstrate comprehension of
material covered thus far in class.
UML Class Diagram 0 to 15 points.
Bonus 10 points: Program displays the books prior to prompting for a book. It also displays the
chapter range before asking for a chapter. System must handle errored input (case mismatch,
chapter out of range, etc.,) correctly for full credit.
Purchase answer to see full
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more