Load a
Document document from the supplied
InputSource source .
Parameters: inputSource - the source of the document that is to be loaded Parameters: entityResolver - the resolver that is to be used to resolve any entities Parameters: errorHandler - used to report any errors during document loading Parameters: validationMode - the type of validation (XmlBeanDefinitionReader.VALIDATION_NONE none, XmlBeanDefinitionReader.VALIDATION_DTD DTD, or XmlBeanDefinitionReader.VALIDATION_XSD XSD) Parameters: namespaceAware - true if the loading is provide support for XML namespaces the loaded Document document throws: Exception - if an error occurs