public static class ValidatorImpl.ErrorListenerWrappingErrorHandler extends Object implements ErrorListener
Constructor and Description |
---|
ValidatorImpl.ErrorListenerWrappingErrorHandler(ErrorHandler handler)
Create an ErrorListener that wraps a supplied SAX ErrorHandler
|
Modifier and Type | Method and Description |
---|---|
void |
error(TransformerException exception)
Receive notification of a recoverable error.
|
void |
fatalError(TransformerException exception)
Receive notification of a non-recoverable error.
|
ErrorHandler |
getErrorHandler()
Get the wrapped SAX ErrorHandler
|
void |
warning(TransformerException exception)
Receive notification of a warning.
|
public ValidatorImpl.ErrorListenerWrappingErrorHandler(ErrorHandler handler)
handler
- the SAX error handler to be wrappedpublic void warning(TransformerException exception) throws TransformerException
warning
in interface ErrorListener
TransformerException
public void error(TransformerException exception) throws TransformerException
error
in interface ErrorListener
TransformerException
public void fatalError(TransformerException exception) throws TransformerException
fatalError
in interface ErrorListener
TransformerException
public ErrorHandler getErrorHandler()
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.