Class DublinCoreProperties

java.lang.Object
com.itextpdf.text.xml.xmp.DublinCoreProperties

public class DublinCoreProperties extends Object
  • Field Details

    • CONTRIBUTOR

      public static final String CONTRIBUTOR
      External Contributors to the resource (other than the authors).
      See Also:
    • COVERAGE

      public static final String COVERAGE
      The extent or scope of the resource.
      See Also:
    • CREATOR

      public static final String CREATOR
      The authors of the resource (listed in order of precedence, if significant).
      See Also:
    • DATE

      public static final String DATE
      Date(s) that something interesting happened to the resource.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      A textual description of the content of the resource. Multiple values may be present for different languages.
      See Also:
    • FORMAT

      public static final String 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

      public static final String IDENTIFIER
      Unique identifier of the resource.
      See Also:
    • LANGUAGE

      public static final String LANGUAGE
      An unordered array specifying the languages used in the resource.
      See Also:
    • PUBLISHER

      public static final String PUBLISHER
      Publishers.
      See Also:
    • RELATION

      public static final String RELATION
      Relationships to other documents.
      See Also:
    • RIGHTS

      public static final String RIGHTS
      Informal rights statement, selected by language.
      See Also:
    • SOURCE

      public static final String SOURCE
      Unique identifier of the work from which this resource was derived.
      See Also:
    • SUBJECT

      public static final String SUBJECT
      An unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.
      See Also:
    • TITLE

      public static final String 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

      public static final String TYPE
      A document type; for example, novel, poem, or working paper.
      See Also:
  • Constructor Details

    • DublinCoreProperties

      public DublinCoreProperties()
  • Method Details

    • addTitle

      public static void addTitle(XMPMeta xmpMeta, String title) throws XMPException
      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 language
      specificLang - The name of the specific language
      Throws:
      XMPException
    • addDescription

      public static void addDescription(XMPMeta xmpMeta, String desc) throws XMPException
      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 language
      specificLang - The name of the specific language
      Throws:
      XMPException
    • addSubject

      public static void addSubject(XMPMeta xmpMeta, String subject) throws XMPException
      Adds a subject.
      Parameters:
      xmpMeta -
      subject -
      Throws:
      XMPException
    • setSubject

      public static void setSubject(XMPMeta xmpMeta, String[] subject) throws XMPException
      Sets a subject.
      Parameters:
      xmpMeta -
      subject - array of subjects
      Throws:
      XMPException
    • addAuthor

      public static void addAuthor(XMPMeta xmpMeta, String author) throws XMPException
      Adds a single author.
      Parameters:
      xmpMeta -
      author -
      Throws:
      XMPException
    • setAuthor

      public static void setAuthor(XMPMeta xmpMeta, String[] author) throws XMPException
      Sets an array of authors.
      Parameters:
      xmpMeta -
      author -
      Throws:
      XMPException
    • addPublisher

      public static void addPublisher(XMPMeta xmpMeta, String publisher) throws XMPException
      Adds a single publisher.
      Parameters:
      xmpMeta -
      publisher -
      Throws:
      XMPException
    • setPublisher

      public static void setPublisher(XMPMeta xmpMeta, String[] publisher) throws XMPException
      Sets an array of publishers.
      Parameters:
      xmpMeta -
      publisher -
      Throws:
      XMPException