类 DefaultDocumentLoader

  • 所有已实现的接口:
    DocumentLoader

    public class DefaultDocumentLoader
    extends Object
    implements DocumentLoader
    Spring's default DocumentLoader implementation.

    Simply loads documents 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
    从以下版本开始:
    2.0
    作者:
    Rob Harrop, Juergen Hoeller