public class SimpleTransformErrorListener extends Object implements ErrorListener
javax.xml.transform.ErrorListener implementation:
logs warnings using the given Commons Logging logger instance,
and rethrows errors to discontinue the XML transformation.| Constructor and Description |
|---|
SimpleTransformErrorListener(org.apache.commons.logging.Log logger)
Create a new SimpleTransformErrorListener for the given
Commons Logging logger instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
error(TransformerException ex) |
void |
fatalError(TransformerException ex) |
void |
warning(TransformerException ex) |
public SimpleTransformErrorListener(org.apache.commons.logging.Log logger)
public void warning(TransformerException ex) throws TransformerException
warning in interface ErrorListenerTransformerExceptionpublic void error(TransformerException ex) throws TransformerException
error in interface ErrorListenerTransformerExceptionpublic void fatalError(TransformerException ex) throws TransformerException
fatalError in interface ErrorListenerTransformerExceptionCopyright © 2015. All rights reserved.