RecursiveCharIterator charIter =
new RecursiveCharIterator(this, firstInlineChild);
EOLchecker lfCheck = new EOLchecker(charIter);
while (charIter.hasNext()) {
char currentChar = charIter.nextChar();
int currentCharClass = CharUtilities.classOf(currentChar);
if (currentCharClass == CharUtilities.LINEFEED
&& linefeedTreatment == EN_TREAT_AS_SPACE) {
// if we have a linefeed and it is suppose to be treated
// like a space, that's what we do and continue