/** * Configure the indentation settings for the supplied {@link Transformer}. * @param transformer the target transformer * @see org.springframework.util.xml.TransformerUtils#enableIndenting(javax.xml.transform.Transformer) * @see org.springframework.util.xml.TransformerUtils#disableIndenting(javax.xml.transform.Transformer) */ protected final void configureIndentation(Transformer transformer) { if (this.indent) { TransformerUtils.enableIndenting(transformer); } else { TransformerUtils.disableIndenting(transformer); } }