Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
        /**
         * Adds a subject.
         * @param subject
         */
        public void AddSubject(String subject)
        {
            XmpArray array = new XmpArray(XmpArray.UNORDERED);

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

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

            array.Add(title);
            SetProperty(TITLE, array);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }