com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class DublinCorePackage

  • All Implemented Interfaces:
    IXmlValue


    public final class DublinCorePackage
    extends XmpPackage

    Represents Dublin Core schema.


    For more information see: http://dublincore.org/documents/usageguide/elements.shtml.

    • Constructor Detail

      • DublinCorePackage

        public DublinCorePackage()

        Initializes a new instance of the DublinCorePackage class.

    • Method Detail

      • getContributors

        public final String[] getContributors()

        Gets or sets contributors.

        Value: Contributors.
      • setContributors

        public final void setContributors(String[] value)

        Gets or sets contributors.

        Value: Contributors.
      • getCoverage

        public final String getCoverage()

        Gets or sets coverage.

        Value: The coverage.
      • setCoverage

        public final void setCoverage(String value)

        Gets or sets coverage.

        Value: The coverage.
      • getCreators

        public final String[] getCreators()

        Gets or sets creators.

        Value: Array of creators.
      • setCreators

        public final void setCreators(String[] value)

        Gets or sets creators.

        Value: Array of creators.
      • getFormat

        public final String getFormat()

        Gets or sets format.

        Value: The format, for example: image/gif.
      • setFormat

        public final void setFormat(String value)

        Gets or sets format.

        Value: The format, for example: image/gif.
      • getRights

        public final LangAlt getRights()

        Gets or sets information about rights held in and over the resource.

        Value: Rights.
      • setRights

        public final void setRights(LangAlt value)

        Gets or sets information about rights held in and over the resource.

        Value: Rights.
      • getSource

        public final String getSource()

        Gets or sets source.

        Value: The source.
      • setSource

        public final void setSource(String value)

        Gets or sets source.

        Value: The source.
      • getSubject

        public final String getSubject()

        Gets or sets source.

        Value: The subject.
      • setSubject

        public final void setSubject(String value)

        Gets or sets source.

        Value: The subject.
      • addValue

        public void addValue(String key,
                    String value)

        Adds string property.

        Overrides:
        addValue in class XmpPackage
        Parameters:
        key - DublinCore key.
        value - Value presented in string form.
        Throws:
        com.aspose.ms.System.ArgumentNullException - DublinCore property could not be null.
      • setTitle

        public final void setTitle(String title)

        Adds Dublin Core title.

        Parameters:
        title - Title value.
      • setTitle

        public final void setTitle(LangAlt title)

        Adds Dublin Core title for different languages.

        Parameters:
        title - Instance of LangAlt.
      • setDescription

        public final void setDescription(String desciption)

        Adds the description.

        Parameters:
        desciption - Description value.
      • setDescription

        public final void setDescription(LangAlt desciption)

        Adds the description.

        Parameters:
        desciption - Description value.
      • setSubject

        public final void setSubject(String[] subject)

        Adds the subject.

        Parameters:
        subject - The subject.
      • setAuthor

        public final void setAuthor(String author)

        Adds the author.

        Parameters:
        author - The author.
      • setAuthor

        public final void setAuthor(String[] author)

        Adds the author.

        Parameters:
        author - The author.
      • setPublisher

        public final void setPublisher(String publisher)

        Adds the publisher.

        Parameters:
        publisher - The publisher.
      • setPublisher

        public final void setPublisher(String[] publisher)

        Adds the publisher.

        Parameters:
        publisher - The publisher.
        Throws:
        com.aspose.ms.System.ArgumentNullException - Publisher could not be null.