Module org.mule.runtime.dsl.api
Class DefaultXmlGathererErrorHandlerFactory
java.lang.Object
org.mule.runtime.dsl.internal.xml.parser.DefaultXmlGathererErrorHandlerFactory
- All Implemented Interfaces:
XmlGathererErrorHandlerFactory
public class DefaultXmlGathererErrorHandlerFactory
extends Object
implements XmlGathererErrorHandlerFactory
Default implementation of
XmlGathererErrorHandlerFactory which will return the DefaultXmlLoggerErrorHandler
instance that registers all errors when ErrorHandler.error(SAXParseException) is called, to then return the complete
gathered list of exceptions through XmlGathererErrorHandler.getErrors() method.- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultXmlGathererErrorHandlerFactory
public DefaultXmlGathererErrorHandlerFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceXmlGathererErrorHandlerFactory- Returns:
- Creates an
XmlGathererErrorHandlerto be used when executingMuleDocumentLoader#loadDocument(Supplier, InputSource, EntityResolver, ErrorHandler, int, boolean)
-