Packages

 

com.aspose.cad.xmp.schemas.dublincore

Class DublinCorePackage

  • java.lang.Object
    • com.aspose.cad.xmp.XmpPackage
      • com.aspose.cad.xmp.schemas.dublincore.DublinCorePackage
  • All Implemented Interfaces:
    IXmlValue, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,Object>>, com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,Object>>, Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,Object>>


    public final class DublinCorePackage
    extends com.aspose.cad.xmp.XmpPackage

    Represents Dublic 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

      • addValue

        public void addValue(String key,
                             String value)

        Adds string property.

        Overrides:
        addValue in class com.aspose.cad.xmp.XmpPackage
        Parameters:
        key - The string representation of key that is identified with added value.
        value - The string value.
        Throws:
        com.aspose.ms.System.ArgumentNullException - key;DublinCore property could not be null
      • setTitle

        public void setTitle(String title)

        Adds Dublin Core title.

        Parameters:
        title - The title.
      • setTitle

        public void setTitle(LangAlt title)

        Adds Dublin Core title for different languages.

        Parameters:
        title - Instance of LangAlt.
      • setDescription

        public void setDescription(String desc)

        Adds the description.

        Parameters:
        desc - The description.
      • setDescription

        public void setDescription(LangAlt desc)

        Adds the description.

        Parameters:
        desc - The description.
      • setSubject

        public void setSubject(String subject)

        Adds the subject.

        Parameters:
        subject - The subject.
      • setSubject

        public void setSubject(String[] subject)

        Adds the subject.

        Parameters:
        subject - The subject.
      • setAuthor

        public void setAuthor(String author)

        Adds the author.

        Parameters:
        author - The author.
      • setAuthor

        public void setAuthor(String[] author)

        Adds the author.

        Parameters:
        author - The author.
      • setPublisher

        public void setPublisher(String publisher)

        Adds the publisher.

        Parameters:
        publisher - The publisher.
      • setPublisher

        public void setPublisher(String[] publisher)

        Adds the publisher.

        Parameters:
        publisher - The publisher.
        Throws:
        com.aspose.ms.System.ArgumentNullException - publisher