|
|||||||||||
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)
ErrorListener
The 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 ErrorListener
e
- The error information encapsulated in a
transformer exception.TransformerException
public void fatalError(TransformerException e)
ErrorListener
The 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 ErrorListener
e
- The error information encapsulated in a
transformer exception.TransformerException
public void warning(TransformerException e)
ErrorListener
Transformers 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 ErrorListener
e
- 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 |