public class MunitDocumentLoader
extends org.springframework.beans.factory.xml.DefaultDocumentLoader
We change the document loader in order to get the line numbers as element attribute.
| Constructor and Description |
|---|
MunitDocumentLoader(org.apache.xerces.parsers.DOMParser munitDomParser) |
| Modifier and Type | Method and Description |
|---|---|
Document |
loadDocument(InputSource inputSource,
EntityResolver entityResolver,
ErrorHandler errorHandler,
int validationMode,
boolean namespaceAware) |
public MunitDocumentLoader(org.apache.xerces.parsers.DOMParser munitDomParser)
public Document loadDocument(InputSource inputSource, EntityResolver entityResolver, ErrorHandler errorHandler, int validationMode, boolean namespaceAware) throws Exception
loadDocument in interface org.springframework.beans.factory.xml.DocumentLoaderloadDocument in class org.springframework.beans.factory.xml.DefaultDocumentLoaderExceptionCopyright © 2017. All rights reserved.