org.milyn.edisax.registry
Class AbstractMappingsRegistry
java.lang.Object
org.milyn.edisax.registry.AbstractMappingsRegistry
- All Implemented Interfaces:
- MappingsRegistry
- Direct Known Subclasses:
- DefaultMappingsRegistry, LazyMappingsRegistry
public abstract class AbstractMappingsRegistry
- extends Object
- implements MappingsRegistry
Base implementation of MappingsRegistry interface
- Author:
- zubairov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
protected final Map<String,EdifactModel> content
- Internal storage
AbstractMappingsRegistry
public AbstractMappingsRegistry()
getMappingModel
public EdifactModel getMappingModel(String messageName,
Delimiters delimiters)
throws EDIConfigurationException,
SAXException,
IOException
- Returns an
EdifactModel based on the message name and delimiters that should be used to parse message name.
- Specified by:
getMappingModel in interface MappingsRegistry
- Returns:
-
- Throws:
SAXException
EDIConfigurationException
IOException
demandLoading
protected abstract Map<String,EdifactModel> demandLoading(String[] nameComponents)
throws EDIConfigurationException,
IOException,
SAXException
- Loading mapping models on demand.
This method should return either one or many mapping models
loaded on-demand or just eagerly.
- Parameters:
nameComponents -
- Returns:
-
- Throws:
SAXException
IOException
EDIConfigurationException
Copyright © 2011. All Rights Reserved.