Class PdfAXmpWriter
java.lang.Object
com.itextpdf.text.xml.xmp.XmpWriter
com.itextpdf.text.xml.xmp.PdfAXmpWriter
Subclass of XmpWriter that adds info about the PDF/A level.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate PdfWriterstatic final Stringstatic final Stringstatic final Stringprivate static final Stringstatic final Stringstatic final StringFields inherited from class XmpWriter
outputStream, serializeOptions, UTF16, UTF16BE, UTF16LE, UTF8, xmpMeta -
Constructor Summary
ConstructorsConstructorDescriptionPdfAXmpWriter(OutputStream os, PdfAConformanceLevel conformanceLevel, PdfWriter writer) Creates and XMP writer that adds info about the PDF/A conformance level.PdfAXmpWriter(OutputStream os, PdfDictionary info, PdfAConformanceLevel conformanceLevel, PdfWriter writer) Creates and XMP writer that adds info about the PDF/A conformance level.PdfAXmpWriter(OutputStream os, Map<String, String> info, PdfAConformanceLevel conformanceLevel, PdfWriter writer) Creates and XMP writer that adds info about the PDF/A conformance level. -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddRdfDescription(PdfAConformanceLevel conformanceLevel) Adds information about the PDF/A conformance level to the XMP metadata.private StringgetZugferdExtension(PdfAConformanceLevel conformanceLevel) Methods inherited from class XmpWriter
addDocInfoProperty, addRdfDescription, addRdfDescription, appendAlternateArrayItem, appendArrayItem, appendOrderedArrayItem, close, getXmpMeta, serialize, setAbout, setProperty, setReadOnly
-
Field Details
-
pdfUaExtension
- See Also:
-
zugferdExtension
- See Also:
-
writer
-
zugferdSchemaNS
- See Also:
-
zugferdConformanceLevel
- See Also:
-
zugferdDocumentFileName
- See Also:
-
zugferdDocumentType
- See Also:
-
zugferdVersion
- See Also:
-
-
Constructor Details
-
PdfAXmpWriter
public PdfAXmpWriter(OutputStream os, PdfAConformanceLevel conformanceLevel, PdfWriter writer) throws IOException Creates and XMP writer that adds info about the PDF/A conformance level.- Parameters:
os-conformanceLevel-- Throws:
IOException
-
PdfAXmpWriter
public PdfAXmpWriter(OutputStream os, PdfDictionary info, PdfAConformanceLevel conformanceLevel, PdfWriter writer) throws IOException Creates and XMP writer that adds info about the PDF/A conformance level.- Parameters:
os-info-conformanceLevel-- Throws:
IOException
-
PdfAXmpWriter
public PdfAXmpWriter(OutputStream os, Map<String, String> info, PdfAConformanceLevel conformanceLevel, PdfWriter writer) throws IOExceptionCreates and XMP writer that adds info about the PDF/A conformance level.- Parameters:
os-info-conformanceLevel-- Throws:
IOException
-
-
Method Details
-
addRdfDescription
Adds information about the PDF/A conformance level to the XMP metadata.- Parameters:
conformanceLevel-- Throws:
IOExceptionXMPException
-
getZugferdExtension
-