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:
- 
Method SummaryModifier and TypeMethodDescriptionloadDocument(InputSource inputSource, EntityResolver entityResolver, ErrorHandler errorHandler, int validationMode, boolean namespaceAware) 
- 
Method Details- 
loadDocumentDocument loadDocument(InputSource inputSource, EntityResolver entityResolver, ErrorHandler errorHandler, int validationMode, boolean namespaceAware) throws Exception - 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- DTDor- XSD)
- namespaceAware-- trueif support for XML namespaces is to be provided
- Returns:
- the loaded document
- Throws:
- Exception- if an error occurs
 
 
-