Class DublinCoreSchema

    • Field Detail

      • CONTRIBUTOR

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

        public static final String CREATOR
        The authors of the resource (listed in order of precedence, if significant).
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • LANGUAGE

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

        public static final String SOURCE
        Unique identifier of the work from which this resource was derived.
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Constructor Detail

      • DublinCoreSchema

        public DublinCoreSchema()
    • Method Detail

      • addTitle

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

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

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

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

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

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

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

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