Package org.dspace.submit.util

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


        String year = XMLUtils.getElementValue(dataRoot, "published");
        if (year != null)
            record.addValue("published", new StringValue(year));
        String splashPageUrl = XMLUtils.getElementValue(dataRoot, "id");
        if (splashPageUrl != null)
            record.addValue("id", new StringValue(splashPageUrl));
        String comment = XMLUtils.getElementValue(dataRoot, "arxiv:comment");
        if (comment != null)
            record.addValue("comment", new StringValue(comment));

        List<Element> links = XMLUtils.getElementList(dataRoot, "link");
View Full Code Here


        String splashPageUrl = XMLUtils.getElementValue(dataRoot, "id");
        if (splashPageUrl != null)
            record.addValue("id", new StringValue(splashPageUrl));
        String comment = XMLUtils.getElementValue(dataRoot, "arxiv:comment");
        if (comment != null)
            record.addValue("comment", new StringValue(comment));

        List<Element> links = XMLUtils.getElementList(dataRoot, "link");
        if (links != null)
        {
            for (Element link : links)
View Full Code Here

                if ("related".equals(link.getAttribute("rel"))
                        && "pdf".equals(link.getAttribute("title")))
                {
                    String pdfUrl = link.getAttribute("href");
                    if (pdfUrl != null)
                        record.addValue("pdfUrl", new StringValue(pdfUrl));
                }
            }
        }

        String doi = XMLUtils.getElementValue(dataRoot, "arxiv:doi");
View Full Code Here

            }
        }

        String doi = XMLUtils.getElementValue(dataRoot, "arxiv:doi");
        if (doi != null)
            record.addValue("doi", new StringValue(doi));
        String journalRef = XMLUtils.getElementValue(dataRoot,
                "arxiv:journal_ref");
        if (journalRef != null)
            record.addValue("journalRef", new StringValue(journalRef));
View Full Code Here

        if (doi != null)
            record.addValue("doi", new StringValue(doi));
        String journalRef = XMLUtils.getElementValue(dataRoot,
                "arxiv:journal_ref");
        if (journalRef != null)
            record.addValue("journalRef", new StringValue(journalRef));

        List<String> primaryCategory = new LinkedList<String>();
        List<Element> primaryCategoryList = XMLUtils.getElementList(dataRoot,
                "arxiv:primary_category");
        if (primaryCategoryList != null)
View Full Code Here

        }

        String volume = XMLUtils.getElementValue(description_ja, "prism:volume");
        if (volume != null)
        {
            record.addValue("volume", new StringValue(volume));
        }

        String issue = XMLUtils.getElementValue(description_ja, "prism:number");
        if (issue != null)
        {
View Full Code Here

        }

        String issue = XMLUtils.getElementValue(description_ja, "prism:number");
        if (issue != null)
        {
            record.addValue("issue", new StringValue(issue));
        }

        String spage = XMLUtils.getElementValue(description_ja, "prism:startingPage");
        if (spage != null)
        {
View Full Code Here

        }

        String spage = XMLUtils.getElementValue(description_ja, "prism:startingPage");
        if (spage != null)
        {
            record.addValue("spage", new StringValue(spage));
        }

        String epage = XMLUtils.getElementValue(description_ja, "prism:endingPage");
        if (epage != null)
        {
View Full Code Here

        }

        String epage = XMLUtils.getElementValue(description_ja, "prism:endingPage");
        if (epage != null)
        {
            record.addValue("epage", new StringValue(epage));
        }

        String pages = XMLUtils.getElementValue(description_ja, "prism:pageRange");
        if (pages != null && spage == null)
        {
View Full Code Here

            else
            {
                spage = pages;
                epage = "";
            }
            record.addValue("spage", new StringValue(spage));
            if (!epage.equals("") && epage == null)
            {
                record.addValue("epage", new StringValue(epage));
            }
        }
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.