|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjd.xml.xslt.trax.DefaultErrorListener
A default implementation of the ErrorListener interface. which dumps the errors and warnings to System.out.
| Field Summary | |
static ErrorListener |
INSTANCE
|
| Method Summary | |
void |
error(TransformerException e)
Receive notification of a recoverable error. |
void |
fatalError(TransformerException e)
Receive notification of a non-recoverable error. |
void |
warning(TransformerException e)
Receive notification of a warning. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final ErrorListener INSTANCE
| Method Detail |
public void error(TransformerException e)
ErrorListenerThe transformer must continue to try and provide normal transformation after invoking this method. It should still be possible for the application to process the document through to the end if no other errors are encountered.
error in interface ErrorListenere - The error information encapsulated in a
transformer exception.TransformerExceptionpublic void fatalError(TransformerException e)
ErrorListenerThe transformer must continue to try and provide normal transformation after invoking this method. It should still be possible for the application to process the document through to the end if no other errors are encountered, but there is no guarantee that the output will be useable.
fatalError in interface ErrorListenere - The error information encapsulated in a
transformer exception.TransformerExceptionpublic void warning(TransformerException e)
ErrorListenerTransformers can use this method to report conditions that are not errors or fatal errors. The default behaviour is to take no action.
After invoking this method, the Transformer must continue with the transformation. It should still be possible for the application to process the document through to the end.
warning in interface ErrorListenere - The warning information encapsulated in a
transformer exception.TransformerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||