public final class MuleDocumentLoader extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MuleDocumentLoader.XmlMetadataAnnotator
SAX filter that builds the metadata that will annotate the built nodes.
|
| Constructor and Description |
|---|
MuleDocumentLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected DocumentBuilder |
createDocumentBuilder(DocumentBuilderFactory factory,
EntityResolver entityResolver,
ErrorHandler errorHandler) |
protected DocumentBuilderFactory |
createDocumentBuilderFactory(int validationMode,
boolean namespaceAware,
org.mule.apache.xerces.xni.grammars.XMLGrammarPool grammarPool) |
protected XMLReader |
createSaxAnnotator(Supplier<SAXParserFactory> saxParserFactorySupplier,
Document doc) |
Document |
loadDocument(Supplier<SAXParserFactory> saxParserFactorySupplier,
InputSource inputSource,
EntityResolver entityResolver,
ErrorHandler errorHandler,
int validationMode,
boolean namespaceAware,
org.mule.apache.xerces.xni.grammars.XMLGrammarPool xmlGrammarPool)
Load the
Document at the supplied InputSource using the standard JAXP-configured XML parser. |
public Document loadDocument(Supplier<SAXParserFactory> saxParserFactorySupplier, InputSource inputSource, EntityResolver entityResolver, ErrorHandler errorHandler, int validationMode, boolean namespaceAware, org.mule.apache.xerces.xni.grammars.XMLGrammarPool xmlGrammarPool) throws Exception
Document at the supplied InputSource using the standard JAXP-configured XML parser.Exceptionprotected XMLReader createSaxAnnotator(Supplier<SAXParserFactory> saxParserFactorySupplier, Document doc) throws ParserConfigurationException, SAXException
protected DocumentBuilderFactory createDocumentBuilderFactory(int validationMode, boolean namespaceAware, org.mule.apache.xerces.xni.grammars.XMLGrammarPool grammarPool) throws ParserConfigurationException
ParserConfigurationExceptionprotected DocumentBuilder createDocumentBuilder(DocumentBuilderFactory factory, EntityResolver entityResolver, ErrorHandler errorHandler) throws ParserConfigurationException
ParserConfigurationExceptionCopyright © 2024 MuleSoft, Inc.. All rights reserved.