public class WhitespaceNormalizedSource extends DOMSource
"normalized" in this context means all whitespace characters are replaced by space characters and consecutive whitespace characters are collapsed.
| Constructor and Description |
|---|
WhitespaceNormalizedSource(Source originalSource)
Creates a new source that consists of the given source with all
whitespace characters replaced by spaces and consecutive
whitespace characters collapsed.
|
WhitespaceNormalizedSource(Source originalSource,
DocumentBuilderFactory dbf)
Creates a new source that consists of the given source with all
whitespace characters replaced by spaces and consecutive
whitespace characters collapsed.
|
public WhitespaceNormalizedSource(Source originalSource)
originalSource - the original sourcepublic WhitespaceNormalizedSource(Source originalSource, DocumentBuilderFactory dbf)
originalSource - the original sourcedbf - the DocumentBuilderFactory to use when creating a
DOM document from originalSourceCopyright © 2001–2025 XMLUnit. All rights reserved.