From 17a5bf9df1027b30406a17dd5ad1e3773bb0f2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20Sta=CC=88rk?= Date: Tue, 5 Nov 2019 11:51:23 +0100 Subject: [PATCH] added some javadoc --- .../java/org/mustangproject/ZUGFeRD/XMPSchemaZugferd.java | 2 ++ src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/mustangproject/ZUGFeRD/XMPSchemaZugferd.java b/src/main/java/org/mustangproject/ZUGFeRD/XMPSchemaZugferd.java index 4798045e..04d19c21 100644 --- a/src/main/java/org/mustangproject/ZUGFeRD/XMPSchemaZugferd.java +++ b/src/main/java/org/mustangproject/ZUGFeRD/XMPSchemaZugferd.java @@ -34,6 +34,8 @@ public class XMPSchemaZugferd extends XMPSchema { /*** * This is what needs to be added to the RDF metadata - basically the name of the embedded Zugferd file * @param metadata the xmp to be added to + * @param zfVersion which ZF version to use (2 for FX) + * @param isFacturX whether to export as Factur-X * @param conformanceLevel e.g. conformanceLevel.EN16931 * @param URN the xml URI for the XMP * @param prefix the xml namespace prefix for the XMP, zf for ZUGFeRD, fx for Factur-X diff --git a/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java b/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java index 0844d304..87db4324 100644 --- a/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java +++ b/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java @@ -132,8 +132,8 @@ public class ZUGFeRDExporter implements Closeable { /** * Adds additional file attachments into the ZF - * @param filename - * @param filecontent + * @param filename the name of the attachment + * @param filecontent the bytearray with the file contents */ public void addAdditionalFile(String filename, byte[] filecontent) { additionalFiles.put(filename, filecontent);