Example #1
0
        /**
         * Adds a single author.
         * @param author
         */
        public void AddAuthor(String author)
        {
            XmpArray array = new XmpArray(XmpArray.ORDERED);

            array.Add(author);
            SetProperty(CREATOR, array);
        }
Example #2
0
        /**
         * Adds a single publisher.
         * @param publisher
         */
        public void AddPublisher(String publisher)
        {
            XmpArray array = new XmpArray(XmpArray.ORDERED);

            array.Add(publisher);
            SetProperty(PUBLISHER, array);
        }
Example #3
0
        /**
         * Adds a subject.
         * @param subject
         */
        public void AddSubject(String subject)
        {
            XmpArray array = new XmpArray(XmpArray.UNORDERED);

            array.Add(subject);
            SetProperty(SUBJECT, array);
        }
Example #4
0
        /**
         * Adds a description.
         * @param desc
         */
        public void AddDescription(String desc)
        {
            XmpArray array = new XmpArray(XmpArray.ALTERNATIVE);

            array.Add(desc);
            SetProperty(DESCRIPTION, array);
        }
Example #5
0
        /**
         * Adds a title.
         * @param title
         */
        public void AddTitle(String title)
        {
            XmpArray array = new XmpArray(XmpArray.ALTERNATIVE);

            array.Add(title);
            SetProperty(TITLE, array);
        }
Example #6
0
        /** Adds the identifier.
         * @param id
         */
        public void AddIdentifiers(String[] id)
        {
            XmpArray array = new XmpArray(XmpArray.UNORDERED);

            for (int i = 0; i < id.Length; i++)
            {
                array.Add(id[i]);
            }
            SetProperty(IDENTIFIER, array);
        }
Example #7
0
        /**
         * Adds an array of publishers.
         * @param publisher
         */
        public void AddPublisher(String[] publisher)
        {
            XmpArray array = new XmpArray(XmpArray.ORDERED);

            for (int i = 0; i < publisher.Length; i++)
            {
                array.Add(publisher[i]);
            }
            SetProperty(PUBLISHER, array);
        }
Example #8
0
        /**
         * Adds an array of authors.
         * @param author
         */
        public void AddAuthor(String[] author)
        {
            XmpArray array = new XmpArray(XmpArray.ORDERED);

            for (int i = 0; i < author.Length; i++)
            {
                array.Add(author[i]);
            }
            SetProperty(CREATOR, array);
        }
Example #9
0
        /**
         * Adds a subject.
         * @param subject array of subjects
         */
        public void addSubject(String[] subject)
        {
            XmpArray array = new XmpArray(XmpArray.UNORDERED);

            for (int i = 0; i < subject.Length; i++)
            {
                array.Add(subject[i]);
            }
            SetProperty(SUBJECT, array);
        }