Module org.mule.runtime.dsl.api
Interface XmlGathererErrorHandler
- All Superinterfaces:
org.mule.apache.xerces.xni.parser.XMLErrorHandler
- All Known Implementing Classes:
DefaultXmlGathererErrorHandler
@NoImplement
public interface XmlGathererErrorHandler
extends org.mule.apache.xerces.xni.parser.XMLErrorHandler
Represents a specific type of
XMLErrorHandler which gathers as many errors as possible to be displayed later for either
logging purposes or to propagate an exception with the full list of errors.- Since:
- 1.4.0
-
Method Summary
Methods inherited from interface org.mule.apache.xerces.xni.parser.XMLErrorHandler
error, fatalError, warning
-
Method Details
-
getErrors
List<org.mule.apache.xerces.xni.parser.XMLParseException> getErrors()- Returns:
- a collection with all the
XMLParseExceptionexceptions gathered fromXMLErrorHandler#error(String, String, XMLErrorHandler). An empty list means there were no error while parsing the file. Non null.
-