Class DublinCoreSchema

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,​java.lang.Object>

    public class DublinCoreSchema
    extends XmpSchema
    An implementation of an XmpSchema.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONTRIBUTOR
      External Contributors to the resource (other than the authors).
      static java.lang.String COVERAGE
      The extent or scope of the resource.
      static java.lang.String CREATOR
      The authors of the resource (listed in order of precedence, if significant).
      static java.lang.String DATE
      Date(s) that something interesting happened to the resource.
      static java.lang.String DEFAULT_XPATH_ID
      default namespace identifier
      static java.lang.String DEFAULT_XPATH_URI
      default namespace uri
      static java.lang.String DESCRIPTION
      A textual description of the content of the resource.
      static java.lang.String FORMAT
      The file format used when saving the resource.
      static java.lang.String IDENTIFIER
      Unique identifier of the resource.
      static java.lang.String LANGUAGE
      An unordered array specifying the languages used in the resource.
      static java.lang.String PUBLISHER
      Publishers.
      static java.lang.String RELATION
      Relationships to other documents.
      static java.lang.String RIGHTS
      Informal rights statement, selected by language.
      private static long serialVersionUID  
      static java.lang.String SOURCE
      Unique identifier of the work from which this resource was derived.
      static java.lang.String SUBJECT
      An unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.
      static java.lang.String TITLE
      The title of the document, or the name given to the resource.
      static java.lang.String TYPE
      A document type; for example, novel, poem, or working paper.
      • Fields inherited from class java.util.Properties

        defaults
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addAuthor​(java.lang.String author)
      Adds a single author.
      void addAuthor​(java.lang.String[] author)
      Adds an array of authors.
      void addDescription​(java.lang.String desc)
      Adds a description.
      void addPublisher​(java.lang.String publisher)
      Adds a single publisher.
      void addPublisher​(java.lang.String[] publisher)
      Adds an array of publishers.
      void addSubject​(java.lang.String subject)
      Adds a subject.
      void addSubject​(java.lang.String[] subject)
      Adds a subject.
      void addTitle​(java.lang.String title)
      Adds a title.
      • Methods inherited from class java.util.Properties

        clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, values
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • DEFAULT_XPATH_ID

        public static final java.lang.String DEFAULT_XPATH_ID
        default namespace identifier
        See Also:
        Constant Field Values
      • DEFAULT_XPATH_URI

        public static final java.lang.String DEFAULT_XPATH_URI
        default namespace uri
        See Also:
        Constant Field Values
      • CONTRIBUTOR

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

        public static final java.lang.String COVERAGE
        The extent or scope of the resource.
        See Also:
        Constant Field Values
      • CREATOR

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

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

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

        public static final java.lang.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:
        Constant Field Values
      • IDENTIFIER

        public static final java.lang.String IDENTIFIER
        Unique identifier of the resource.
        See Also:
        Constant Field Values
      • LANGUAGE

        public static final java.lang.String LANGUAGE
        An unordered array specifying the languages used in the resource.
        See Also:
        Constant Field Values
      • RELATION

        public static final java.lang.String RELATION
        Relationships to other documents.
        See Also:
        Constant Field Values
      • RIGHTS

        public static final java.lang.String RIGHTS
        Informal rights statement, selected by language.
        See Also:
        Constant Field Values
      • SOURCE

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

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

        public static final java.lang.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:
        Constant Field Values
      • TYPE

        public static final java.lang.String TYPE
        A document type; for example, novel, poem, or working paper.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DublinCoreSchema

        public DublinCoreSchema()
    • Method Detail

      • addTitle

        public void addTitle​(java.lang.String title)
        Adds a title.
        Parameters:
        title - title
      • addDescription

        public void addDescription​(java.lang.String desc)
        Adds a description.
        Parameters:
        desc - description
      • addSubject

        public void addSubject​(java.lang.String subject)
        Adds a subject.
        Parameters:
        subject - subject
      • addSubject

        public void addSubject​(java.lang.String[] subject)
        Adds a subject.
        Parameters:
        subject - array of subjects
      • addAuthor

        public void addAuthor​(java.lang.String author)
        Adds a single author.
        Parameters:
        author - author name
      • addAuthor

        public void addAuthor​(java.lang.String[] author)
        Adds an array of authors.
        Parameters:
        author - author names arrays
      • addPublisher

        public void addPublisher​(java.lang.String publisher)
        Adds a single publisher.
        Parameters:
        publisher - publisher name
      • addPublisher

        public void addPublisher​(java.lang.String[] publisher)
        Adds an array of publishers.
        Parameters:
        publisher - publishers array