Package com.itextpdf.text.xml.xmp
Class XmpBasicProperties
java.lang.Object
com.itextpdf.text.xml.xmp.XmpBasicProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAn unordered array specifying properties that were edited outside the authoring application.static final StringThe base URL for relative URLs in the document content.static final StringThe date and time the resource was originally created.static final StringThe name of the first known tool used to create the resource.static final StringAn unordered array of text strings that unambiguously identify the resource within a given context.static final StringThe date and time that any metadata for this resource was last changed.static final StringThe date and time the resource was last modified.static final StringA short informal name for the resource.static final StringAn 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 voidsetCreateDate(XMPMeta xmpMeta, String date) Adds the creation date.static voidsetCreatorTool(XMPMeta xmpMeta, String creator) Adds the creatortool.static voidsetIdentifiers(XMPMeta xmpMeta, String[] id) Sets the identifier.static voidsetMetaDataDate(XMPMeta xmpMeta, String date) Adds the meta data date.static voidsetModDate(XMPMeta xmpMeta, String date) Adds the modification date.static voidsetNickname(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
-