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
currentChar = ' ';
charIter.replaceChar(' ');
currentCharClass = CharUtilities.classOf(currentChar);
}
switch (CharUtilities.classOf(currentChar)) {
case CharUtilities.XMLWHITESPACE:
/* Some kind of whitespace character, except linefeed. */