Class UBLParser

java.lang.Object
org.imixs.workflow.einvoice.UBLParser

public class UBLParser extends Object
This util class supports parsing a eInvoice file in UBL format
  • Field Details

  • Constructor Details

    • UBLParser

      public UBLParser()
  • Method Details

    • parseInputStream

      public static Document parseInputStream(InputStream xmlInputStream)
      This method parses a Input Stream with a UBL xml document and returns the Dom Tree object. We set 'namespaceAware' to true to ensure that namespaces can be used for later item parsing.
    • parseItems

      public static void parseItems(Document doc, org.imixs.workflow.ItemCollection workitem) throws XPathExpressionException
      This method parses a UBL Dom Tree and adapts the eInvoice fields to the Imixs Invoice Items
      Throws:
      XPathExpressionException