IPWorks EDIFACT 2020 Android Edition

Questions / Feedback?

Segment Event

Fires whenever a data segment in a transaction set is read.

Syntax

public class DefaultEdifacttranslatorEventListener implements EdifacttranslatorEventListener {
  ...
  public void segment(EdifacttranslatorSegmentEvent e) {}
  ...
}

public class EdifacttranslatorSegmentEvent {
  public String tag;
  public String name;
  public String loopName;
  public String fullSegment;
}

Remarks

The Segment event will fire when a data segment is read. The Tag parameter contains the tag of the segment. Name contains the name of the segment as defined in the associated transaction set schema. LoopName contains the name of the loop or group this segment is present in (such as N1Loop1).

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDIFACT 2020 Android Edition - Version 20.0 [Build 8209]