public interface DocumentLoader
Document.DefaultDocumentLoader| Modifier and Type | Method and Description |
|---|---|
Document |
loadDocument(InputSource inputSource,
EntityResolver entityResolver,
ErrorHandler errorHandler,
int validationMode,
boolean namespaceAware)
|
Document loadDocument(InputSource inputSource, EntityResolver entityResolver, ErrorHandler errorHandler, int validationMode, boolean namespaceAware) throws Exception
inputSource - the source of the document that is to be loadedentityResolver - the resolver that is to be used to resolve any entitieserrorHandler - used to report any errors during document loadingvalidationMode - the type of validation
DTD
or XSD)namespaceAware - true if support for XML namespaces is to be provideddocumentException - if an error occurs