@Override public void parse(InputSource unedifactInterchange) throws IOException, SAXException { ignoreNewLines(ignoreNewLines); ignoreEmptyNodes(ignoreEmptyNodes); validate(validate); // Default Mappings Registry is already set to LazyMappingsRegistry // only if mappingModel is defined we should set another instance if (!StringUtils.isEmpty(mappingModel)) { setMappingsRegistry(new DefaultMappingsRegistry(mappingModel, applicationContext.getResourceLocator().getBaseURI())); } super.parse(unedifactInterchange); }
@Override public void parse(InputSource unedifactInterchange) throws IOException, SAXException { ignoreNewLines(ignoreNewLines); ignoreEmptyNodes(ignoreEmptyNodes); validate(validate); // Default Mappings Registry is already set to LazyMappingsRegistry // only if mappingModel is defined we should set another instance if (!StringUtils.isEmpty(mappingModel)) { setMappingsRegistry(new DefaultMappingsRegistry(mappingModel, applicationContext.getResourceLocator().getBaseURI())); } super.parse(unedifactInterchange); }