- labels: --> New Packages and Libraries
A low level EDI message parser/builder.
Initial implenetation would be a low level parser that
simply found the Interchanges, Segments, Functional
Groups, Elements and SubElements, and fired
corresponding events.
The corresponding builder would do the reverse,
building EDI messages from a client firing events.
Later additions could be:
1) An Adapter that transformed the EDI events to SAX
events.
2) An Adapter that transformed SAX events to EDI events.
3) An EDI Interchange DOM
4) Type-aware DOMs for specific functional groups (e.g.
850 PO, 810 Invoice)
For 1 and 2, some generalized XML format would need to
be chosen.
For 3 and 4, it might be better to first create
'type-aware' event interfaces for the specific
documents . Like
public interface EDI850EventHandler {
public void startLineItem(...);
public void endLineItem(...);
...
}