Package com.itextpdf.text.xml.xmp
Class DublinCoreProperties
java.lang.Object
com.itextpdf.text.xml.xmp.DublinCoreProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
External Contributors to the resource (other than the authors).static final String
The extent or scope of the resource.static final String
The authors of the resource (listed in order of precedence, if significant).static final String
Date(s) that something interesting happened to the resource.static final String
A textual description of the content of the resource.static final String
The file format used when saving the resource.static final String
Unique identifier of the resource.static final String
An unordered array specifying the languages used in the resource.static final String
Publishers.static final String
Relationships to other documents.static final String
Informal rights statement, selected by language.static final String
Unique identifier of the work from which this resource was derived.static final String
An unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.static final String
The title of the document, or the name given to the resource.static final String
A document type; for example, novel, poem, or working paper. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Adds a single author.static void
addDescription
(XMPMeta xmpMeta, String desc) Adds a description.static void
addPublisher
(XMPMeta xmpMeta, String publisher) Adds a single publisher.static void
addSubject
(XMPMeta xmpMeta, String subject) Adds a subject.static void
Adds a title.static void
Sets an array of authors.static void
setDescription
(XMPMeta xmpMeta, String desc, String genericLang, String specificLang) Sets a description.static void
setPublisher
(XMPMeta xmpMeta, String[] publisher) Sets an array of publishers.static void
setSubject
(XMPMeta xmpMeta, String[] subject) Sets a subject.static void
Sets a title.
-
Field Details
-
CONTRIBUTOR
External Contributors to the resource (other than the authors).- See Also:
-
COVERAGE
The extent or scope of the resource.- See Also:
-
CREATOR
The authors of the resource (listed in order of precedence, if significant).- See Also:
-
DATE
Date(s) that something interesting happened to the resource.- See Also:
-
DESCRIPTION
A textual description of the content of the resource. Multiple values may be present for different languages.- See Also:
-
FORMAT
The file format used when saving the resource. Tools and applications should set this property to the save format of the data. It may include appropriate qualifiers.- See Also:
-
IDENTIFIER
Unique identifier of the resource.- See Also:
-
LANGUAGE
An unordered array specifying the languages used in the resource.- See Also:
-
PUBLISHER
Publishers.- See Also:
-
RELATION
Relationships to other documents.- See Also:
-
RIGHTS
Informal rights statement, selected by language.- See Also:
-
SOURCE
Unique identifier of the work from which this resource was derived.- See Also:
-
SUBJECT
An unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.- See Also:
-
TITLE
The title of the document, or the name given to the resource. Typically, it will be a name by which the resource is formally known.- See Also:
-
TYPE
A document type; for example, novel, poem, or working paper.- See Also:
-
-
Constructor Details
-
DublinCoreProperties
public DublinCoreProperties()
-
-
Method Details
-
addTitle
Adds a title.- Parameters:
xmpMeta
-title
-- Throws:
XMPException
-
setTitle
public static void setTitle(XMPMeta xmpMeta, String title, String genericLang, String specificLang) throws XMPException Sets a title.- Parameters:
xmpMeta
-title
-genericLang
- The name of the generic languagespecificLang
- The name of the specific language- Throws:
XMPException
-
addDescription
Adds a description.- Parameters:
xmpMeta
-desc
-- Throws:
XMPException
-
setDescription
public static void setDescription(XMPMeta xmpMeta, String desc, String genericLang, String specificLang) throws XMPException Sets a description.- Parameters:
xmpMeta
-desc
-genericLang
- The name of the generic languagespecificLang
- The name of the specific language- Throws:
XMPException
-
addSubject
Adds a subject.- Parameters:
xmpMeta
-subject
-- Throws:
XMPException
-
setSubject
Sets a subject.- Parameters:
xmpMeta
-subject
- array of subjects- Throws:
XMPException
-
addAuthor
Adds a single author.- Parameters:
xmpMeta
-author
-- Throws:
XMPException
-
setAuthor
Sets an array of authors.- Parameters:
xmpMeta
-author
-- Throws:
XMPException
-
addPublisher
Adds a single publisher.- Parameters:
xmpMeta
-publisher
-- Throws:
XMPException
-
setPublisher
Sets an array of publishers.- Parameters:
xmpMeta
-publisher
-- Throws:
XMPException
-