@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); }
edifactModel = EDIParser.parseMappingModel(modelConfigData, (resourceLocator).getBaseURI()); } else { edifactModel = EDIParser.parseMappingModel(modelConfigData, URIResourceLocator.getSystemBaseURI());
edifactModel = EDIParser.parseMappingModel(modelConfigData, (resourceLocator).getBaseURI()); } else { edifactModel = EDIParser.parseMappingModel(modelConfigData, URIResourceLocator.getSystemBaseURI());