public class ElementContentWhitespaceStrippedSource
extends javax.xml.transform.dom.DOMSource
Constructor and Description |
---|
ElementContentWhitespaceStrippedSource(javax.xml.transform.Source originalSource)
Creates a new source that consists of the given source with all
text nodes that only contain whitespace stripped.
|
ElementContentWhitespaceStrippedSource(javax.xml.transform.Source originalSource,
javax.xml.parsers.DocumentBuilderFactory dbf)
Creates a new source that consists of the given source with all
text nodes that only contain whitespace stripped.
|
public ElementContentWhitespaceStrippedSource(javax.xml.transform.Source originalSource)
originalSource
- the original sourcepublic ElementContentWhitespaceStrippedSource(javax.xml.transform.Source originalSource, javax.xml.parsers.DocumentBuilderFactory dbf)
originalSource
- the original sourcedbf
- the DocumentBuilderFactory to use when creating a
DOM document from originalSource