Package | Description |
---|---|
com.itextpdf.kernel.pdf | |
com.itextpdf.kernel.xmp | |
com.itextpdf.kernel.xmp.impl |
Package containing the xmpcore implementation.
|
com.itextpdf.kernel.xmp.options |
Package containing the option classes.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfPage.setXmpMetadata(XMPMeta xmpMeta, SerializeOptions serializeOptions)
Serializes XMP Metadata to byte array and sets it.
|
void |
PdfDocument.setXmpMetadata(XMPMeta xmpMeta, SerializeOptions serializeOptions) |
Modifier and Type | Method and Description |
---|---|
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 | Method and Description |
---|---|
static void |
XMPSerializerHelper.serialize(XMPMetaImpl xmp, OutputStream output, SerializeOptions options)
Static method to serialize the metadata object.
|
void |
XMPSerializerRDF.serialize(XMPMeta xmp, OutputStream out, SerializeOptions options)
The actual serialization.
|
static byte[] |
XMPSerializerHelper.serializeToBuffer(XMPMetaImpl xmp, SerializeOptions options)
Serializes an XMPMeta -object as RDF into a byte buffer.
|
static String |
XMPSerializerHelper.serializeToString(XMPMetaImpl xmp, SerializeOptions options)
Serializes an XMPMeta -object as RDF into a string.
|
Modifier and Type | Method and Description |
---|---|
SerializeOptions |
SerializeOptions.setBaseIndent(int baseIndent) |
SerializeOptions |
SerializeOptions.setEncodeUTF16BE(boolean value) |
SerializeOptions |
SerializeOptions.setEncodeUTF16LE(boolean value) |
SerializeOptions |
SerializeOptions.setExactPacketLength(boolean value) |
SerializeOptions |
SerializeOptions.setIncludeThumbnailPad(boolean value) |
SerializeOptions |
SerializeOptions.setIndent(String indent) |
SerializeOptions |
SerializeOptions.setNewline(String newline) |
SerializeOptions |
SerializeOptions.setOmitPacketWrapper(boolean value) |
SerializeOptions |
SerializeOptions.setOmitXmpMetaElement(boolean value) |
SerializeOptions |
SerializeOptions.setPadding(int padding) |
SerializeOptions |
SerializeOptions.setReadOnlyPacket(boolean value) |
SerializeOptions |
SerializeOptions.setSort(boolean value) |
SerializeOptions |
SerializeOptions.setUseCanonicalFormat(boolean value) |
SerializeOptions |
SerializeOptions.setUseCompactFormat(boolean value) |
Copyright © 1998–2018 iText Group NV. All rights reserved.