Package com.itextpdf.text.xml.xmp
Class DublinCoreProperties
java.lang.Object
com.itextpdf.text.xml.xmp.DublinCoreProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringExternal Contributors to the resource (other than the authors).static final StringThe extent or scope of the resource.static final StringThe authors of the resource (listed in order of precedence, if significant).static final StringDate(s) that something interesting happened to the resource.static final StringA textual description of the content of the resource.static final StringThe file format used when saving the resource.static final StringUnique identifier of the resource.static final StringAn unordered array specifying the languages used in the resource.static final StringPublishers.static final StringRelationships to other documents.static final StringInformal rights statement, selected by language.static final StringUnique identifier of the work from which this resource was derived.static final StringAn unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.static final StringThe title of the document, or the name given to the resource.static final StringA document type; for example, novel, poem, or working paper. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidAdds a single author.static voidaddDescription(XMPMeta xmpMeta, String desc) Adds a description.static voidaddPublisher(XMPMeta xmpMeta, String publisher) Adds a single publisher.static voidaddSubject(XMPMeta xmpMeta, String subject) Adds a subject.static voidAdds a title.static voidSets an array of authors.static voidsetDescription(XMPMeta xmpMeta, String desc, String genericLang, String specificLang) Sets a description.static voidsetPublisher(XMPMeta xmpMeta, String[] publisher) Sets an array of publishers.static voidsetSubject(XMPMeta xmpMeta, String[] subject) Sets a subject.static voidSets 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
-