Package com.itextpdf.text.xml.xmp
Class XmpBasicProperties
- java.lang.Object
-
- com.itextpdf.text.xml.xmp.XmpBasicProperties
-
public class XmpBasicProperties extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ADVISORY
An unordered array specifying properties that were edited outside the authoring application.static java.lang.String
BASEURL
The base URL for relative URLs in the document content.static java.lang.String
CREATEDATE
The date and time the resource was originally created.static java.lang.String
CREATORTOOL
The name of the first known tool used to create the resource.static java.lang.String
IDENTIFIER
An unordered array of text strings that unambiguously identify the resource within a given context.static java.lang.String
METADATADATE
The date and time that any metadata for this resource was last changed.static java.lang.String
MODIFYDATE
The date and time the resource was last modified.static java.lang.String
NICKNAME
A short informal name for the resource.static java.lang.String
THUMBNAILS
An alternative array of thumbnail images for a file, which can differ in characteristics such as size or image encoding.
-
Constructor Summary
Constructors Constructor Description XmpBasicProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
setCreateDate(XMPMeta xmpMeta, java.lang.String date)
Adds the creation date.static void
setCreatorTool(XMPMeta xmpMeta, java.lang.String creator)
Adds the creatortool.static void
setIdentifiers(XMPMeta xmpMeta, java.lang.String[] id)
Sets the identifier.static void
setMetaDataDate(XMPMeta xmpMeta, java.lang.String date)
Adds the meta data date.static void
setModDate(XMPMeta xmpMeta, java.lang.String date)
Adds the modification date.static void
setNickname(XMPMeta xmpMeta, java.lang.String name)
Adds the nickname.
-
-
-
Field Detail
-
ADVISORY
public static final java.lang.String 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:
- Constant Field Values
-
BASEURL
public static final java.lang.String 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:
- Constant Field Values
-
CREATEDATE
public static final java.lang.String CREATEDATE
The date and time the resource was originally created.- See Also:
- Constant Field Values
-
CREATORTOOL
public static final java.lang.String 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:
- Constant Field Values
-
IDENTIFIER
public static final java.lang.String IDENTIFIER
An unordered array of text strings that unambiguously identify the resource within a given context.- See Also:
- Constant Field Values
-
METADATADATE
public static final java.lang.String METADATADATE
The date and time that any metadata for this resource was last changed.- See Also:
- Constant Field Values
-
MODIFYDATE
public static final java.lang.String MODIFYDATE
The date and time the resource was last modified.- See Also:
- Constant Field Values
-
NICKNAME
public static final java.lang.String NICKNAME
A short informal name for the resource.- See Also:
- Constant Field Values
-
THUMBNAILS
public static final java.lang.String THUMBNAILS
An alternative array of thumbnail images for a file, which can differ in characteristics such as size or image encoding.- See Also:
- Constant Field Values
-
-
Method Detail
-
setCreatorTool
public static void setCreatorTool(XMPMeta xmpMeta, java.lang.String creator) throws XMPException
Adds the creatortool.- Parameters:
xmpMeta
-creator
-- Throws:
XMPException
-
setCreateDate
public static void setCreateDate(XMPMeta xmpMeta, java.lang.String date) throws XMPException
Adds the creation date.- Parameters:
xmpMeta
-date
-- Throws:
XMPException
-
setModDate
public static void setModDate(XMPMeta xmpMeta, java.lang.String date) throws XMPException
Adds the modification date.- Parameters:
xmpMeta
-date
-- Throws:
XMPException
-
setMetaDataDate
public static void setMetaDataDate(XMPMeta xmpMeta, java.lang.String date) throws XMPException
Adds the meta data date.- Parameters:
xmpMeta
-date
-- Throws:
XMPException
-
setIdentifiers
public static void setIdentifiers(XMPMeta xmpMeta, java.lang.String[] id) throws XMPException
Sets the identifier.- Parameters:
xmpMeta
-id
-- Throws:
XMPException
-
setNickname
public static void setNickname(XMPMeta xmpMeta, java.lang.String name) throws XMPException
Adds the nickname.- Parameters:
xmpMeta
-name
-- Throws:
XMPException
-
-