java.lang.Object | |
↳ | org.springframework.util.xml.TransformerUtils |
Contains common behavior relating to javax.xml.transform.Transformer Transformers, and the
javax.xml.transform
package in general.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | DEFAULT_INDENT_AMOUNT | The indent amount of characters if indenting is enabled . |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Disable indenting for the supplied
Transformer . | |||||||||||
Enable indenting for the supplied
Transformer . | |||||||||||
Enable indenting for the supplied
Transformer . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The indent amount of characters if indenting is enabled
.
Defaults to "2".
Disable indenting for the supplied Transformer
.
transformer | the target transformer |
---|
Enable indenting for the supplied Transformer
.
If the underlying XSLT engine is
Xalan, then the special output key indent-amount
will be also be set to a value of DEFAULT_INDENT_AMOUNT
characters.
transformer | the target transformer |
---|
Enable indenting for the supplied Transformer
.
If the underlying XSLT engine is
Xalan, then the special output key indent-amount
will be also be set to a value of DEFAULT_INDENT_AMOUNT
characters.
transformer | the target transformer |
---|---|
indentAmount | the size of the indent (2 characters, 3 characters, etc.) |