Package org.imixs.workflow.einvoice
Class UBLParser
java.lang.Object
org.imixs.workflow.einvoice.UBLParser
This util class supports parsing a eInvoice file in UBL format
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentparseInputStream(InputStream xmlInputStream) This method parses a Input Stream with a UBL xml document and returns the Dom Tree object.static voidparseItems(Document doc, org.imixs.workflow.ItemCollection workitem) This method parses a UBL Dom Tree and adapts the eInvoice fields to the Imixs Invoice Items
-
Field Details
-
DATE_FORMAT
- See Also:
-
-
Constructor Details
-
UBLParser
public UBLParser()
-
-
Method Details
-
parseInputStream
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
-