站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

DocumentLoader (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.beans.factory.xml
Interface DocumentLoader

All Known Implementing Classes:
DefaultDocumentLoader

public interface DocumentLoader

Strategy interface for loading an XML Document.

Since:
2.0
Author:
Rob Harrop
See Also:
DefaultDocumentLoader

Method Summary
 Document loadDocument(InputSource inputSource, EntityResolver entityResolver, ErrorHandler errorHandler, int validationMode, boolean namespaceAware)
          Load a document from the supplied source.
 

Method Detail

loadDocument

Document loadDocument(InputSource inputSource,
                      EntityResolver entityResolver,
                      ErrorHandler errorHandler,
                      int validationMode,
                      boolean namespaceAware)
                      throws Exception
Load a document from the supplied source.

Parameters:
inputSource - the source of the document that is to be loaded
entityResolver - the resolver that is to be used to resolve any entities
errorHandler - used to report any errors during document loading
validationMode - the type of validation DTD or XSD)
namespaceAware - true if the loading is provide support for XML namespaces
Returns:
the loaded document
Throws:
Exception - if an error occurs

The Spring Framework

Copyright © 2002-2007 The Spring Framework.