org.springframework.util.xml.TransformerUtils源码实例Demo

类org.springframework.util.xml.TransformerUtils源码实例Demo

下面列出了org.springframework.util.xml.TransformerUtils 类实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: spring-analysis-note   文件: XsltView.java
/**
 * 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);
	}
}
 
源代码2 项目: java-technology-stack   文件: XsltView.java
/**
 * 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);
	}
}
 
源代码3 项目: lams   文件: XsltView.java
/**
 * 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);
	}
}
 
源代码4 项目: spring4-understanding   文件: XsltView.java
/**
 * 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);
	}
}
 
源代码评论
动弹
沙发等你来抢
 类所在包
 类方法
 同包方法