Package org.dspace.submit.util

Examples of org.dspace.submit.util.SubmissionLookupPublication.addField()


            }

            List<Value> authors = getAuthors(description_en);
            if (authors.size() > 0)
            {
                record.addField("authors", authors);
            }
            List<Value> authorAlternative = getAuthors(description_ja);
            if (authorAlternative.size() > 0)
            {
                record.addField("authorAlternative", authorAlternative);
View Full Code Here


                record.addField("authors", authors);
            }
            List<Value> authorAlternative = getAuthors(description_ja);
            if (authorAlternative.size() > 0)
            {
                record.addField("authorAlternative", authorAlternative);
            }

            String publisher = XMLUtils.getElementValue(description_en, "dc:publisher");
            if (publisher != null)
            {
View Full Code Here

        if (abstract_ja != null && abstract_en != null)
        {
            List<Value> description = new LinkedList<Value>();
            description.add(new StringValue(abstract_ja));
            description.add(new StringValue(abstract_en));
            record.addField("description", description);
        }
        else if (abstract_ja != null)
        {
            record.addValue("description", new StringValue(abstract_ja));
        }
View Full Code Here

        List<Value> subjects = getSubjects(description_ja);
        subjects.addAll(getSubjects(description_en));
        if (subjects.size() > 0)
        {
            record.addField("subjects", subjects);
        }

        String journal_j = XMLUtils.getElementValue(description_ja, "prism:publicationName");
        String journal_e = XMLUtils.getElementValue(description_en, "prism:publicationName");
        if (journal_j != null && journal_e != null)
View Full Code Here

            List<Value> values = new LinkedList<Value>();
            for (String[] sArray : authors)
            {
                values.add(new StringValue(sArray[1] + ", " + sArray[0]));
            }
            record.addField("author", values);
        }

        Element journal = XMLUtils.getSingleElement(article, "Journal");
        if (journal != null)
        {
View Full Code Here

                List<Value> values = new LinkedList<Value>();
                for (String s : type)
                {
                    values.add(new StringValue(s));
                }
                record.addField("publicationType", values);
            }

            List<String> primaryKeywords = new LinkedList<String>();
            List<String> secondaryKeywords = new LinkedList<String>();
            Element keywordsList = XMLUtils.getSingleElement(medline,
View Full Code Here

                List<Value> values = new LinkedList<Value>();
                for (String s : primaryKeywords)
                {
                    values.add(new StringValue(s));
                }
                record.addField("primaryKeyword", values);
            }
            if (secondaryKeywords.size() > 0)
            {
                List<Value> values = new LinkedList<Value>();
                for (String s : secondaryKeywords)
View Full Code Here

                List<Value> values = new LinkedList<Value>();
                for (String s : secondaryKeywords)
                {
                    values.add(new StringValue(s));
                }
                record.addField("secondaryKeyword", values);
            }

            List<String> primaryMeshHeadings = new LinkedList<String>();
            List<String> secondaryMeshHeadings = new LinkedList<String>();
            Element meshHeadingsList = XMLUtils.getSingleElement(medline,
View Full Code Here

                List<Value> values = new LinkedList<Value>();
                for (String s : primaryMeshHeadings)
                {
                    values.add(new StringValue(s));
                }
                record.addField("primaryMeshHeading", values);
            }
            if (secondaryMeshHeadings.size() > 0)
            {
                List<Value> values = new LinkedList<Value>();
                for (String s : secondaryMeshHeadings)
View Full Code Here

                List<Value> values = new LinkedList<Value>();
                for (String s : secondaryMeshHeadings)
                {
                    values.add(new StringValue(s));
                }
                record.addField("secondaryMeshHeading", values);
            }

            Element paginationElement = XMLUtils.getSingleElement(article,
                    "Pagination");
            if (paginationElement != null)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.