Package | Description |
---|---|
com.itextpdf.kernel.pdf | |
com.itextpdf.kernel.xmp | |
com.itextpdf.kernel.xmp.impl | |
com.itextpdf.pdfa |
Modifier and Type | Method and Description |
---|---|
protected XMPMeta |
PdfDocument.updateDefaultXmpMetadata()
Update XMP metadata values from PdfDocumentInfo .
|
Modifier and Type | Method and Description |
---|---|
protected void |
PdfDocument.addCustomMetadataExtensions(XMPMeta xmpMeta)
Adds custom XMP metadata extension.
|
static PdfAConformanceLevel |
PdfAConformanceLevel.getConformanceLevel(XMPMeta meta) |
void |
PdfDocument.setXmpMetadata(XMPMeta xmpMeta)
Sets the XMP Metadata.
|
PdfPage |
PdfPage.setXmpMetadata(XMPMeta xmpMeta)
Serializes XMP Metadata to byte array and sets it.
|
void |
PdfDocument.setXmpMetadata(XMPMeta xmpMeta, SerializeOptions serializeOptions)
Sets the XMP Metadata.
|
PdfPage |
PdfPage.setXmpMetadata(XMPMeta xmpMeta, SerializeOptions serializeOptions)
Serializes XMP Metadata to byte array and sets it.
|
Modifier and Type | Method and Description |
---|---|
static XMPMeta |
XMPMetaFactory.create() |
static XMPMeta |
XMPMetaFactory.parse(InputStream in)
Parsing with default options.
|
static XMPMeta |
XMPMetaFactory.parse(InputStream in, ParseOptions options)
These functions support parsing serialized RDF into an XMP object, and serailizing an XMP object into RDF.
|
static XMPMeta |
XMPMetaFactory.parseFromBuffer(byte[] buffer)
Parsing with default options.
|
static XMPMeta |
XMPMetaFactory.parseFromBuffer(byte[] buffer, ParseOptions options)
Creates an XMPMeta -object from a byte-buffer.
|
static XMPMeta |
XMPMetaFactory.parseFromString(String packet)
Parsing with default options.
|
static XMPMeta |
XMPMetaFactory.parseFromString(String packet, ParseOptions options)
Creates an XMPMeta -object from a string.
|
Modifier and Type | Method and Description |
---|---|
static void |
XMPUtils.appendProperties(XMPMeta source, XMPMeta dest, boolean doAllProperties, boolean replaceOldValues)
Alias without the new option deleteEmptyValues .
|
static void |
XMPUtils.appendProperties(XMPMeta source, XMPMeta dest, boolean doAllProperties, boolean replaceOldValues, boolean deleteEmptyValues)
Append properties from one XMP object to another.
|
static String |
XMPUtils.catenateArrayItems(XMPMeta xmp, String schemaNS, String arrayName, String separator, String quotes, boolean allowCommas)
Create a single edit string from an array of strings.
|
static void |
XMPUtils.removeProperties(XMPMeta xmp, String schemaNS, String propName, boolean doAllProperties, boolean includeAliases)
Remove multiple properties from an XMP object.
|
static void |
XMPUtils.separateArrayItems(XMPMeta xmp, String schemaNS, String arrayName, String catedStr, PropertyOptions arrayOptions, boolean preserveCommas)
Separate a single edit string into an array of strings.
|
static void |
XMPMetaFactory.serialize(XMPMeta xmp, OutputStream out)
Serializes an XMPMeta -object as RDF into an OutputStream with default options.
|
static void |
XMPMetaFactory.serialize(XMPMeta xmp, OutputStream out, SerializeOptions options)
Serializes an XMPMeta -object as RDF into an OutputStream .
|
static byte[] |
XMPMetaFactory.serializeToBuffer(XMPMeta xmp, SerializeOptions options)
Serializes an XMPMeta -object as RDF into a byte buffer.
|
static String |
XMPMetaFactory.serializeToString(XMPMeta xmp, SerializeOptions options)
Serializes an XMPMeta -object as RDF into a string.
|
Modifier and Type | Class and Description |
---|---|
class |
XMPMetaImpl
Implementation for XMPMeta .
|
Modifier and Type | Method and Description |
---|---|
static XMPMeta |
XMPMetaParser.parse(Object input, ParseOptions options)
Parses the input source into an XMP metadata object, including de-aliasing and normalisation.
|
Modifier and Type | Method and Description |
---|---|
static void |
XMPUtilsImpl.appendProperties(XMPMeta source, XMPMeta destination, boolean doAllProperties, boolean replaceOldValues, boolean deleteEmptyValues) |
static String |
XMPUtilsImpl.catenateArrayItems(XMPMeta xmp, String schemaNS, String arrayName, String separator, String quotes, boolean allowCommas) |
static void |
XMPUtilsImpl.removeProperties(XMPMeta xmp, String schemaNS, String propName, boolean doAllProperties, boolean includeAliases) |
static void |
XMPUtilsImpl.separateArrayItems(XMPMeta xmp, String schemaNS, String arrayName, String catedStr, PropertyOptions arrayOptions, boolean preserveCommas)
|
void |
XMPSerializerRDF.serialize(XMPMeta xmp, OutputStream out, SerializeOptions options)
The actual serialization.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PdfADocument.addCustomMetadataExtensions(XMPMeta xmpMeta) |
Copyright © 1998–2023 iText Group NV. All rights reserved.