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();