public class NoOpRawTextProcessor extends Object implements RawTextToXmlProcessor
The GNU Lesser General Public License for details.
Constructor and Description |
---|
NoOpRawTextProcessor() |
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.
|
public void preRange(VerseRange range, List<org.jdom2.Content> partialDom)
RawTextToXmlProcessor
preRange
in interface RawTextToXmlProcessor
range
- the verse that is currently being examinedpartialDom
- the DOM that is being built up as data is readpublic void postVerse(Key verse, List<org.jdom2.Content> partialDom, String rawText)
RawTextToXmlProcessor
postVerse
in interface RawTextToXmlProcessor
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, decipheredpublic void init(List<org.jdom2.Content> partialDom)
RawTextToXmlProcessor
init
in interface RawTextToXmlProcessor
partialDom
- the DOM, empty at this stage