Package com.itextpdf.text.xml.xmp
Class XmpBasicProperties
java.lang.Object
com.itextpdf.text.xml.xmp.XmpBasicProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
An unordered array specifying properties that were edited outside the authoring application.static final String
The base URL for relative URLs in the document content.static final String
The date and time the resource was originally created.static final String
The name of the first known tool used to create the resource.static final String
An unordered array of text strings that unambiguously identify the resource within a given context.static final String
The date and time that any metadata for this resource was last changed.static final String
The date and time the resource was last modified.static final String
A short informal name for the resource.static final String
An alternative array of thumbnail images for a file, which can differ in characteristics such as size or image encoding. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
setCreateDate
(XMPMeta xmpMeta, String date) Adds the creation date.static void
setCreatorTool
(XMPMeta xmpMeta, String creator) Adds the creatortool.static void
setIdentifiers
(XMPMeta xmpMeta, String[] id) Sets the identifier.static void
setMetaDataDate
(XMPMeta xmpMeta, String date) Adds the meta data date.static void
setModDate
(XMPMeta xmpMeta, String date) Adds the modification date.static void
setNickname
(XMPMeta xmpMeta, String name) Adds the nickname.
-
Field Details
-
ADVISORY
An unordered array specifying properties that were edited outside the authoring application. Each item should contain a single namespace and XPath separated by one ASCII space (U+0020).- See Also:
-
BASEURL
The base URL for relative URLs in the document content. If this document contains Internet links, and those links are relative, they are relative to this base URL. This property provides a standard way for embedded relative URLs to be interpreted by tools. Web authoring tools should set the value based on their notion of where URLs will be interpreted.- See Also:
-
CREATEDATE
The date and time the resource was originally created.- See Also:
-
CREATORTOOL
The name of the first known tool used to create the resource. If history is present in the metadata, this value should be equivalent to that of xmpMM:History's softwareAgent property.- See Also:
-
IDENTIFIER
An unordered array of text strings that unambiguously identify the resource within a given context.- See Also:
-
METADATADATE
The date and time that any metadata for this resource was last changed.- See Also:
-
MODIFYDATE
The date and time the resource was last modified.- See Also:
-
NICKNAME
A short informal name for the resource.- See Also:
-
THUMBNAILS
An alternative array of thumbnail images for a file, which can differ in characteristics such as size or image encoding.- See Also:
-
-
Constructor Details
-
XmpBasicProperties
public XmpBasicProperties()
-
-
Method Details
-
setCreatorTool
Adds the creatortool.- Parameters:
xmpMeta
-creator
-- Throws:
XMPException
-
setCreateDate
Adds the creation date.- Parameters:
xmpMeta
-date
-- Throws:
XMPException
-
setModDate
Adds the modification date.- Parameters:
xmpMeta
-date
-- Throws:
XMPException
-
setMetaDataDate
Adds the meta data date.- Parameters:
xmpMeta
-date
-- Throws:
XMPException
-
setIdentifiers
Sets the identifier.- Parameters:
xmpMeta
-id
-- Throws:
XMPException
-
setNickname
Adds the nickname.- Parameters:
xmpMeta
-name
-- Throws:
XMPException
-