This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git

commit 582e94173da2ce6f764d07bea99ae5009d798148
Author: Gary Gregory <[email protected]>
AuthorDate: Sun May 14 09:50:33 2023 -0400

    Javadoc
---
 .../org/apache/commons/imaging/common/XmpEmbeddable.java     | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/apache/commons/imaging/common/XmpEmbeddable.java 
b/src/main/java/org/apache/commons/imaging/common/XmpEmbeddable.java
index 02ff35db..8b72a494 100644
--- a/src/main/java/org/apache/commons/imaging/common/XmpEmbeddable.java
+++ b/src/main/java/org/apache/commons/imaging/common/XmpEmbeddable.java
@@ -24,14 +24,15 @@ import 
org.apache.commons.imaging.common.bytesource.ByteSource;
 /**
  * Implementations support embedding the Extensible Metadata Platform tags.
  *
+ * @param <E> The type of {@link XmpImagingParameters}.
  * @see <a 
href="https://en.wikipedia.org/wiki/Extensible_Metadata_Platform";>https://en.wikipedia.org/wiki/Extensible_Metadata_Platform</a>
  */
-public interface XmpEmbeddable {
+public interface XmpEmbeddable<E extends XmpImagingParameters<E>> {
 
     /**
-     * Get a string containing XML-formatted text conforming to the Extensible
-     * Metadata  Platform (EXP) standard for representing information about
-     * image content.  Not all image formats support EXP information and
+     * Gets a string containing XML conforming to the Extensible
+     * Metadata Platform (XMP) standard for representing information about
+     * image content.  Not all image formats support XMP information and
      * even for those that do, there is no guarantee that such information
      * will be present in an image.
      *
@@ -45,7 +46,6 @@ public interface XmpEmbeddable {
      *                            parser implementation.
      * @throws IOException        In the event of unsuccessful read or access 
operation.
      */
-    String getXmpXml(ByteSource byteSource, XmpImagingParameters params)
-            throws ImageReadException, IOException;
+    String getXmpXml(ByteSource byteSource, XmpImagingParameters<E> params) 
throws ImageReadException, IOException;
 
 }

Reply via email to