Package | Description |
---|---|
com.itextpdf.text.xml.xmp | |
com.itextpdf.xmp |
Package containing the xmpcore interface.
|
com.itextpdf.xmp.impl |
Package containing the xmpcore implementation.
|
Modifier and Type | Field | Description |
---|---|---|
protected XMPMeta |
XmpWriter.xmpMeta |
Modifier and Type | Method | Description |
---|---|---|
XMPMeta |
XmpWriter.getXmpMeta() |
Modifier and Type | Method | Description |
---|---|---|
static void |
DublinCoreProperties.addAuthor(XMPMeta xmpMeta,
String author) |
Adds a single author.
|
static void |
DublinCoreProperties.addDescription(XMPMeta xmpMeta,
String desc) |
Adds a description.
|
static void |
DublinCoreProperties.addPublisher(XMPMeta xmpMeta,
String publisher) |
Adds a single publisher.
|
static void |
DublinCoreProperties.addSubject(XMPMeta xmpMeta,
String subject) |
Adds a subject.
|
static void |
DublinCoreProperties.addTitle(XMPMeta xmpMeta,
String title) |
Adds a title.
|
static void |
DublinCoreProperties.setAuthor(XMPMeta xmpMeta,
String[] author) |
Sets an array of authors.
|
static void |
XmpBasicProperties.setCreateDate(XMPMeta xmpMeta,
String date) |
Adds the creation date.
|
static void |
XmpBasicProperties.setCreatorTool(XMPMeta xmpMeta,
String creator) |
Adds the creatortool.
|
static void |
DublinCoreProperties.setDescription(XMPMeta xmpMeta,
String desc,
String genericLang,
String specificLang) |
Sets a description.
|
static void |
XmpBasicProperties.setIdentifiers(XMPMeta xmpMeta,
String[] id) |
Sets the identifier.
|
static void |
PdfProperties.setKeywords(XMPMeta xmpMeta,
String keywords) |
Adds keywords.
|
static void |
XmpBasicProperties.setMetaDataDate(XMPMeta xmpMeta,
String date) |
Adds the meta data date.
|
static void |
XmpBasicProperties.setModDate(XMPMeta xmpMeta,
String date) |
Adds the modification date.
|
static void |
XmpBasicProperties.setNickname(XMPMeta xmpMeta,
String name) |
Adds the nickname.
|
static void |
PdfProperties.setProducer(XMPMeta xmpMeta,
String producer) |
Adds the producer.
|
static void |
DublinCoreProperties.setPublisher(XMPMeta xmpMeta,
String[] publisher) |
Sets an array of publishers.
|
static void |
DublinCoreProperties.setSubject(XMPMeta xmpMeta,
String[] subject) |
Sets a subject.
|
static void |
DublinCoreProperties.setTitle(XMPMeta xmpMeta,
String title,
String genericLang,
String specificLang) |
Sets a title.
|
static void |
PdfProperties.setVersion(XMPMeta xmpMeta,
String version) |
Adds the version.
|
Modifier and Type | Method | 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 | 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 | Description |
---|---|---|
class |
XMPMetaImpl |
Implementation for
XMPMeta . |
Modifier and Type | Method | 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 | 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.
|
Copyright © 2018. All rights reserved.