Package com.itextpdf.text.xml.xmp
Class PdfAXmpWriter
- java.lang.Object
-
- com.itextpdf.text.xml.xmp.XmpWriter
-
- com.itextpdf.text.xml.xmp.PdfAXmpWriter
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringpdfUaExtensionprivate PdfWriterwriterstatic java.lang.StringzugferdConformanceLevelstatic java.lang.StringzugferdDocumentFileNamestatic java.lang.StringzugferdDocumentTypeprivate static java.lang.StringzugferdExtensionstatic java.lang.StringzugferdSchemaNSstatic java.lang.StringzugferdVersion-
Fields inherited from class com.itextpdf.text.xml.xmp.XmpWriter
outputStream, serializeOptions, UTF16, UTF16BE, UTF16LE, UTF8, xmpMeta
-
-
Constructor Summary
Constructors Constructor Description PdfAXmpWriter(java.io.OutputStream os, PdfAConformanceLevel conformanceLevel, PdfWriter writer)Creates and XMP writer that adds info about the PDF/A conformance level.PdfAXmpWriter(java.io.OutputStream os, PdfDictionary info, PdfAConformanceLevel conformanceLevel, PdfWriter writer)Creates and XMP writer that adds info about the PDF/A conformance level.PdfAXmpWriter(java.io.OutputStream os, java.util.Map<java.lang.String,java.lang.String> info, PdfAConformanceLevel conformanceLevel, PdfWriter writer)Creates and XMP writer that adds info about the PDF/A conformance level.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidaddRdfDescription(PdfAConformanceLevel conformanceLevel)Adds information about the PDF/A conformance level to the XMP metadata.private java.lang.StringgetZugferdExtension(PdfAConformanceLevel conformanceLevel)-
Methods inherited from class com.itextpdf.text.xml.xmp.XmpWriter
addDocInfoProperty, addRdfDescription, addRdfDescription, appendAlternateArrayItem, appendArrayItem, appendOrderedArrayItem, close, getXmpMeta, serialize, setAbout, setProperty, setReadOnly
-
-
-
-
Field Detail
-
pdfUaExtension
private static final java.lang.String pdfUaExtension
- See Also:
- Constant Field Values
-
zugferdExtension
private static final java.lang.String zugferdExtension
- See Also:
- Constant Field Values
-
writer
private PdfWriter writer
-
zugferdSchemaNS
public static final java.lang.String zugferdSchemaNS
- See Also:
- Constant Field Values
-
zugferdConformanceLevel
public static final java.lang.String zugferdConformanceLevel
- See Also:
- Constant Field Values
-
zugferdDocumentFileName
public static final java.lang.String zugferdDocumentFileName
- See Also:
- Constant Field Values
-
zugferdDocumentType
public static final java.lang.String zugferdDocumentType
- See Also:
- Constant Field Values
-
zugferdVersion
public static final java.lang.String zugferdVersion
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PdfAXmpWriter
public PdfAXmpWriter(java.io.OutputStream os, PdfAConformanceLevel conformanceLevel, PdfWriter writer) throws java.io.IOExceptionCreates 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.IOExceptionCreates 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.IOExceptionCreates 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.IOExceptionXMPException
-
getZugferdExtension
private java.lang.String getZugferdExtension(PdfAConformanceLevel conformanceLevel)
-
-