public interface MessageAwareErrorHandler
extends org.xml.sax.ErrorHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
capturesMessages()
Does this ErrorHandler implementation capture error messages?
|
int |
getErrorCount()
Return the number of errors.
|
int |
getFatalErrorCount()
Return the number of fatal errors.
|
java.lang.Object |
getMessagesAs(java.lang.Class format)
Get the messages from this ErrorHandler in a particular format.
|
int |
getWarningCount()
Return the number of warnings.
|
boolean |
hasErrors()
Does the error handler contain any error messages?
|
boolean |
supportsMessageFormat(java.lang.Class format)
Does the message support a given format?
|
boolean hasErrors()
int getWarningCount()
int getErrorCount()
int getFatalErrorCount()
boolean capturesMessages()
java.lang.Object getMessagesAs(java.lang.Class format)
throws javax.jbi.messaging.MessagingException
javax.jbi.messaging.MessagingExceptionboolean supportsMessageFormat(java.lang.Class format)
clazz - The Class of the format for which support is required.Copyright © 2005-2014 FuseSource. All Rights Reserved.