Normalisation is defined as removing all newlines, and reducing interword spacing to one space character. @see SMS @see LogicalWhitespaceWriter
129130131132133134135136137
if (preformatted) { writer = super.getWriter(); } else { logicalWriter = new QuietLogicalWhitespaceWriter( new LogicalWhitespaceWriter(super.getWriter())); writer = new NormaliseWhitespaceWriter(logicalWriter); } } }
117118119120121122123124
*/ private void ensureWritersAllocated() { if(writer == null){ logicalWriter = new QuietLogicalWhitespaceWriter( new LogicalWhitespaceWriter(super.getWriter())); writer = new NormaliseWhitespaceWriter(logicalWriter); } }