public class DefaultMappingsRegistry extends AbstractMappingsRegistry
MappingsRegistry.
 
 Default implementation loading EDIFACT models based on the specified list of model files
 which could be provided either via constructor or via addModelReferences(String, URI) method.content| Constructor and Description | 
|---|
| DefaultMappingsRegistry(EdifactModel... models)Constructor mostly used for tests | 
| DefaultMappingsRegistry(String mappingModelFiles,
                       URI baseURI)Loading mapping model out of ZIP file | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addModelReferences(String models,
                  URI baseURI)Add references to the lookup list. | 
| protected Map<String,EdifactModel> | demandLoading(String[] nameComponents)This method load all mapping models which are declared in
  modelReferencesmap and returns them all back. | 
getMappingModelpublic DefaultMappingsRegistry(EdifactModel... models)
models - public DefaultMappingsRegistry(String mappingModelFiles, URI baseURI) throws EDIConfigurationException, IOException, SAXException
string - baseURI - SAXExceptionIOExceptionEDIConfigurationExceptionpublic void addModelReferences(String models, URI baseURI)
references - protected Map<String,EdifactModel> demandLoading(String[] nameComponents) throws EDIConfigurationException, IOException, SAXException
modelReferences map and returns them all back.
 It is actually ignoring nameComponents parameter
 because no on-demand loading is happening here.demandLoading in class AbstractMappingsRegistrynameComponents - SAXExceptionIOExceptionEDIConfigurationExceptionCopyright © 2020. All rights reserved.