Package net.sf.saxon.lib
Class DelegatingErrorListener
java.lang.Object
net.sf.saxon.lib.DelegatingErrorListener
- All Implemented Interfaces:
ErrorListener,UnfailingErrorListener
UnfailingErrorListener is an implementation of the JAXP ErrorListener interface
that wraps a supplied ErrorListener and never throws an exception
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiderror(TransformerException exception) voidfatalError(TransformerException exception) Get the ErrorListener that this DelegatingErrorListener delegates to.voidwarning(TransformerException exception)
-
Constructor Details
-
DelegatingErrorListener
-
-
Method Details
-
warning
- Specified by:
warningin interfaceErrorListener- Specified by:
warningin interfaceUnfailingErrorListener
-
error
- Specified by:
errorin interfaceErrorListener- Specified by:
errorin interfaceUnfailingErrorListener
-
fatalError
- Specified by:
fatalErrorin interfaceErrorListener- Specified by:
fatalErrorin interfaceUnfailingErrorListener
-
getBaseErrorListener
Get the ErrorListener that this DelegatingErrorListener delegates to.- Returns:
- the ErrorListener originally supplied when this DelegatingErrorListener was created.
-