Class PdfAXmpWriter


  • public class PdfAXmpWriter
    extends XmpWriter
    Subclass of XmpWriter that adds info about the PDF/A level.
    See Also:
    XmpWriter
    • Constructor Detail

      • PdfAXmpWriter

        public PdfAXmpWriter​(java.io.OutputStream os,
                             PdfAConformanceLevel conformanceLevel,
                             PdfWriter writer)
                      throws java.io.IOException
        Creates and XMP writer that adds info about the PDF/A conformance level.
        Parameters:
        os -
        conformanceLevel -
        Throws:
        java.io.IOException
      • PdfAXmpWriter

        public PdfAXmpWriter​(java.io.OutputStream os,
                             PdfDictionary info,
                             PdfAConformanceLevel conformanceLevel,
                             PdfWriter writer)
                      throws java.io.IOException
        Creates and XMP writer that adds info about the PDF/A conformance level.
        Parameters:
        os -
        info -
        conformanceLevel -
        Throws:
        java.io.IOException
      • PdfAXmpWriter

        public PdfAXmpWriter​(java.io.OutputStream os,
                             java.util.Map<java.lang.String,​java.lang.String> info,
                             PdfAConformanceLevel conformanceLevel,
                             PdfWriter writer)
                      throws java.io.IOException
        Creates and XMP writer that adds info about the PDF/A conformance level.
        Parameters:
        os -
        info -
        conformanceLevel -
        Throws:
        java.io.IOException
    • Method Detail

      • addRdfDescription

        private void addRdfDescription​(PdfAConformanceLevel conformanceLevel)
                                throws XMPException
        Adds information about the PDF/A conformance level to the XMP metadata.
        Parameters:
        conformanceLevel -
        Throws:
        java.io.IOException
        XMPException
      • getZugferdExtension

        private java.lang.String getZugferdExtension​(PdfAConformanceLevel conformanceLevel)