Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1747

Remove separate sapi and japi

XMLWordPrintableJSON

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • deferred
    • 2.0.0
    • API, clean ups
    • None

      The two API's are virtually the same. The only real differences are:

      • Java Lists vs Scala Seqs
      • Java Map vs Scala Map
      • Logger enums
      • parse outputs a JDOM Document vs Scala XML Node
      • unparse inputs a JDOM Document vs Scala XML Node

      Replacing Scala Seq/Map/enums with a Java List/Map/enum does not seem that big of a deal. And with new InfosetInputter and InfosetOutputters, the differences between parse and unparse are removed. Since we are already breaking API with the addition of InfosetInputter/Outputter, we should just remove the sapi/japi distinction and just have a daffodil-api class that will work for both Java and Scala, removing the duplicate code.

              Unassigned Unassigned
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: