public interface RawTextToXmlProcessor
The GNU Lesser General Public License for details.
Modifier and Type | Method and Description |
---|---|
void |
init(List<org.jdom2.Content> partialDom)
Runs before the processing starts.
|
void |
postVerse(Key verse,
List<org.jdom2.Content> partialDom,
String rawText)
Executes after a verse is read from the raw data.
|
void |
preRange(VerseRange range,
List<org.jdom2.Content> partialDom)
Executes before a range is read from the raw data.
|
void init(List<org.jdom2.Content> partialDom)
partialDom
- the DOM, empty at this stagevoid preRange(VerseRange range, List<org.jdom2.Content> partialDom)
range
- the verse that is currently being examinedpartialDom
- the DOM that is being built up as data is readvoid postVerse(Key verse, List<org.jdom2.Content> partialDom, String rawText)
verse
- the verse that is currently being examinedpartialDom
- the DOM that is being built up as data is readrawText
- the text that has been read, deciphered