Package org.milyn.edisax.registry

Examples of org.milyn.edisax.registry.MappingsRegistry


        this.hierarchyChangeListener = hierarchyChangeListener;
    }

    public void process(InterchangeContext interchangeContext) throws IOException, SAXException {
    BufferedSegmentReader segmentReader = interchangeContext.getSegmentReader();
    MappingsRegistry registry = interchangeContext.getRegistry();

    // Move to the end of the UNH segment and map it's fields..
    segmentReader.moveToNextSegment(false);

    // Select the mapping model to use for this message...
    String[] fields = segmentReader.getCurrentSegmentFields();
    String messageName = fields[2];
    EdifactModel mappingModel = registry.getMappingModel(messageName, segmentReader.getDelimiters());
        Edimap ediMap = mappingModel.getEdimap();

        Description description = ediMap.getDescription();
        AttributesImpl attrs = new AttributesImpl();
        String namespace = description.getNamespace();
View Full Code Here

TOP

Related Classes of org.milyn.edisax.registry.MappingsRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.