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 SummaryConstructorsConstructorDescriptionSimpleSaxErrorHandler(org.apache.commons.logging.Log logger) Create a new SimpleSaxErrorHandler for the given Commons Logging logger instance.
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidvoid
- 
Constructor Details- 
SimpleSaxErrorHandlerpublic SimpleSaxErrorHandler(org.apache.commons.logging.Log logger) Create a new SimpleSaxErrorHandler for the given Commons Logging logger instance.
 
- 
- 
Method Details- 
warning- Specified by:
- warningin interface- ErrorHandler
- Throws:
- SAXException
 
- 
error- Specified by:
- errorin interface- ErrorHandler
- Throws:
- SAXException
 
- 
fatalError- Specified by:
- fatalErrorin interface- ErrorHandler
- Throws:
- SAXException
 
 
-