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

下面列出了怎么用org.springframework.util.xml.SimpleTransformErrorListener的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: spring-analysis-note   文件: XsltView.java
/**
 * Set an implementation of the {@link javax.xml.transform.ErrorListener}
 * interface for custom handling of transformation errors and warnings.
 * <p>If not set, a default
 * {@link org.springframework.util.xml.SimpleTransformErrorListener} is
 * used that simply logs warnings using the logger instance of the view class,
 * and rethrows errors to discontinue the XML transformation.
 * @see org.springframework.util.xml.SimpleTransformErrorListener
 */
public void setErrorListener(@Nullable ErrorListener errorListener) {
	this.errorListener = (errorListener != null ? errorListener : new SimpleTransformErrorListener(logger));
}
 
源代码2 项目: java-technology-stack   文件: XsltView.java
/**
 * Set an implementation of the {@link javax.xml.transform.ErrorListener}
 * interface for custom handling of transformation errors and warnings.
 * <p>If not set, a default
 * {@link org.springframework.util.xml.SimpleTransformErrorListener} is
 * used that simply logs warnings using the logger instance of the view class,
 * and rethrows errors to discontinue the XML transformation.
 * @see org.springframework.util.xml.SimpleTransformErrorListener
 */
public void setErrorListener(@Nullable ErrorListener errorListener) {
	this.errorListener = (errorListener != null ? errorListener : new SimpleTransformErrorListener(logger));
}
 
源代码3 项目: lams   文件: XsltView.java
/**
 * Set an implementation of the {@link javax.xml.transform.ErrorListener}
 * interface for custom handling of transformation errors and warnings.
 * <p>If not set, a default
 * {@link org.springframework.util.xml.SimpleTransformErrorListener} is
 * used that simply logs warnings using the logger instance of the view class,
 * and rethrows errors to discontinue the XML transformation.
 * @see org.springframework.util.xml.SimpleTransformErrorListener
 */
public void setErrorListener(ErrorListener errorListener) {
	this.errorListener = (errorListener != null ? errorListener : new SimpleTransformErrorListener(logger));
}
 
源代码4 项目: spring4-understanding   文件: XsltView.java
/**
 * Set an implementation of the {@link javax.xml.transform.ErrorListener}
 * interface for custom handling of transformation errors and warnings.
 * <p>If not set, a default
 * {@link org.springframework.util.xml.SimpleTransformErrorListener} is
 * used that simply logs warnings using the logger instance of the view class,
 * and rethrows errors to discontinue the XML transformation.
 * @see org.springframework.util.xml.SimpleTransformErrorListener
 */
public void setErrorListener(ErrorListener errorListener) {
	this.errorListener = (errorListener != null ? errorListener : new SimpleTransformErrorListener(logger));
}
 
 类所在包
 同包方法