Package org.springframework.util.xml
Class SimpleTransformErrorListener
java.lang.Object
org.springframework.util.xml.SimpleTransformErrorListener
- All Implemented Interfaces:
ErrorListener
Simple
javax.xml.transform.ErrorListener
implementation:
logs warnings using the given Commons Logging logger instance,
and rethrows errors to discontinue the XML transformation.- Since:
- 1.2
- Author:
- Juergen Hoeller
-
Constructor Summary
ConstructorDescriptionSimpleTransformErrorListener
(Log logger) Create a new SimpleTransformErrorListener for the given Commons Logging logger instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
-
Constructor Details
-
SimpleTransformErrorListener
Create a new SimpleTransformErrorListener for the given Commons Logging logger instance.
-
-
Method Details
-
warning
- Specified by:
warning
in interfaceErrorListener
- Throws:
TransformerException
-
error
- Specified by:
error
in interfaceErrorListener
- Throws:
TransformerException
-
fatalError
- Specified by:
fatalError
in interfaceErrorListener
- Throws:
TransformerException
-