com.itextpdf.text.xml.xmp
Class XmpBasicProperties

java.lang.Object
  extended by com.itextpdf.text.xml.xmp.XmpBasicProperties

public class XmpBasicProperties
extends Object


Field Summary
static String ADVISORY
          An unordered array specifying properties that were edited outside the authoring application.
static String BASEURL
          The base URL for relative URLs in the document content.
static String CREATEDATE
          The date and time the resource was originally created.
static String CREATORTOOL
          The name of the first known tool used to create the resource.
static String IDENTIFIER
          An unordered array of text strings that unambiguously identify the resource within a given context.
static String METADATADATE
          The date and time that any metadata for this resource was last changed.
static String MODIFYDATE
          The date and time the resource was last modified.
static String NICKNAME
          A short informal name for the resource.
static String THUMBNAILS
          An alternative array of thumbnail images for a file, which can differ in characteristics such as size or image encoding.
 
Constructor Summary
XmpBasicProperties()
           
 
Method Summary
static 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADVISORY

public static final 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 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 String CREATEDATE
The date and time the resource was originally created.

See Also:
Constant Field Values

CREATORTOOL

public static final 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 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 String METADATADATE
The date and time that any metadata for this resource was last changed.

See Also:
Constant Field Values

MODIFYDATE

public static final String MODIFYDATE
The date and time the resource was last modified.

See Also:
Constant Field Values

NICKNAME

public static final String NICKNAME
A short informal name for the resource.

See Also:
Constant Field Values

THUMBNAILS

public static final 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
Constructor Detail

XmpBasicProperties

public XmpBasicProperties()
Method Detail

setCreatorTool

public static void setCreatorTool(XMPMeta xmpMeta,
                                  String creator)
                           throws XMPException
Adds the creatortool.

Parameters:
xmpMeta -
creator -
Throws:
XMPException

setCreateDate

public static void setCreateDate(XMPMeta xmpMeta,
                                 String date)
                          throws XMPException
Adds the creation date.

Parameters:
xmpMeta -
date -
Throws:
XMPException

setModDate

public static void setModDate(XMPMeta xmpMeta,
                              String date)
                       throws XMPException
Adds the modification date.

Parameters:
xmpMeta -
date -
Throws:
XMPException

setMetaDataDate

public static void setMetaDataDate(XMPMeta xmpMeta,
                                   String date)
                            throws XMPException
Adds the meta data date.

Parameters:
xmpMeta -
date -
Throws:
XMPException

setIdentifiers

public static void setIdentifiers(XMPMeta xmpMeta,
                                  String[] id)
                           throws XMPException
Sets the identifier.

Parameters:
xmpMeta -
id -
Throws:
XMPException

setNickname

public static void setNickname(XMPMeta xmpMeta,
                               String name)
                        throws XMPException
Adds the nickname.

Parameters:
xmpMeta -
name -
Throws:
XMPException


Copyright © 2014. All Rights Reserved.