类 SimpleTransformErrorListener
- java.lang.Object
- org.springframework.util.xml.SimpleTransformErrorListener
- 所有已实现的接口:
ErrorListener
public class SimpleTransformErrorListener extends Object implements ErrorListener
Simplejavax.xml.transform.ErrorListener
implementation: logs warnings using the given Commons Logging logger instance, and rethrows errors to discontinue the XML transformation.- 从以下版本开始:
- 1.2
- 作者:
- Juergen Hoeller
构造器概要
构造器 构造器 说明 SimpleTransformErrorListener(Log logger)
Create a new SimpleTransformErrorListener for the given Commons Logging logger instance.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
error(TransformerException ex)
void
fatalError(TransformerException ex)
void
warning(TransformerException ex)
构造器详细资料
SimpleTransformErrorListener
public SimpleTransformErrorListener(Log logger)
Create a new SimpleTransformErrorListener for the given Commons Logging logger instance.
方法详细资料
warning
public void warning(TransformerException ex) throws TransformerException
- 指定者:
warning
在接口中ErrorListener
- 抛出:
TransformerException
error
public void error(TransformerException ex) throws TransformerException
- 指定者:
error
在接口中ErrorListener
- 抛出:
TransformerException
fatalError
public void fatalError(TransformerException ex) throws TransformerException
- 指定者:
fatalError
在接口中ErrorListener
- 抛出:
TransformerException