open class DefaultDocumentLoader : DocumentLoader
Spring's default DocumentLoader implementation.
Simply loads Document using the standard JAXP-configured XML parser. If you want to change the DocumentBuilder that is used to load documents, then one strategy is to define a corresponding Java system property when starting your JVM. For example, to use the Oracle DocumentBuilder, you might start your application like as follows:
java -Djavax.xml.parsers.DocumentBuilderFactory=oracle.xml.jaxp.JXDocumentBuilderFactory MyMainClass
Author
Rob Harrop
Author
Juergen Hoeller
Since
2.0
DefaultDocumentLoader()
Spring's default DocumentLoader implementation. Simply loads Document using the standard JAXP-configured XML parser. If you want to change the DocumentBuilder that is used to load documents, then one strategy is to define a corresponding Java system property when starting your JVM. For example, to use the Oracle DocumentBuilder, you might start your application like as follows:
|
open fun loadDocument(inputSource: InputSource, entityResolver: EntityResolver, errorHandler: ErrorHandler, validationMode: Int, namespaceAware: Boolean): Document
Load the Document at the supplied InputSource using the standard JAXP-configured XML parser. |