Package org.springframework.util.xml
Class SimpleSaxErrorHandler
java.lang.Object
org.springframework.util.xml.SimpleSaxErrorHandler
- All Implemented Interfaces:
ErrorHandler
Simple
org.xml.sax.ErrorHandler
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
ConstructorDescriptionSimpleSaxErrorHandler
(Log logger) Create a new SimpleSaxErrorHandler for the given Commons Logging logger instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
-
Constructor Details
-
SimpleSaxErrorHandler
Create a new SimpleSaxErrorHandler for the given Commons Logging logger instance.
-
-
Method Details
-
warning
- Specified by:
warning
in interfaceErrorHandler
- Throws:
SAXException
-
error
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXException
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXException
-