Package org.dspace.submit.util

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


            throw new RuntimeException(exMsg);
        }

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

        String itemType = doi != null ? XMLUtils.getElementAttribute(dataRoot,
                "doi", "type") : "unspecified";
        if (itemType != null)
            record.addValue("doiType", new StringValue(itemType));
View Full Code Here


            record.addValue("doi", new StringValue(doi));

        String itemType = doi != null ? XMLUtils.getElementAttribute(dataRoot,
                "doi", "type") : "unspecified";
        if (itemType != null)
            record.addValue("doiType", new StringValue(itemType));

        List<Element> identifier = XMLUtils.getElementList(dataRoot, "issn");
        for (Element ident : identifier)
        {
            if ("print".equalsIgnoreCase(ident.getAttribute("type"))
View Full Code Here

            if ("print".equalsIgnoreCase(ident.getAttribute("type"))
                    || StringUtils.isNotBlank(ident.getAttribute("type")))
            {
                String issn = ident.getTextContent().trim();
                if (issn != null)
                    record.addValue("printISSN", new StringValue(issn));
            }
            else
            {
                String eissn = ident.getTextContent().trim();
                if (eissn != null)
View Full Code Here

            }
            else
            {
                String eissn = ident.getTextContent().trim();
                if (eissn != null)
                    record.addValue("electronicISSN", new StringValue(eissn));
            }
        }
       
        List<Element> identifierisbn = XMLUtils.getElementList(dataRoot, "isbn");
        for (Element ident : identifierisbn)
View Full Code Here

            if ("print".equalsIgnoreCase(ident.getAttribute("type"))
                    || StringUtils.isNotBlank(ident.getAttribute("type")))
            {
                String issn = ident.getTextContent().trim();
                if (issn != null)
                    record.addValue("printISBN", new StringValue(issn));
            }
            else
            {
                String eissn = ident.getTextContent().trim();
                if (eissn != null)
View Full Code Here

            }
            else
            {
                String eissn = ident.getTextContent().trim();
                if (eissn != null)
                    record.addValue("electronicISBN", new StringValue(eissn));
            }
        }

        String editionNumber = XMLUtils.getElementValue(dataRoot,
                "editionNumber");
View Full Code Here

        }

        String editionNumber = XMLUtils.getElementValue(dataRoot,
                "editionNumber");
        if (editionNumber != null)
            record.addValue("editionNumber", new StringValue(editionNumber));

        String volume = XMLUtils.getElementValue(dataRoot, "volume");
        if (volume != null)
            record.addValue("volume", new StringValue(volume));
View Full Code Here

        if (editionNumber != null)
            record.addValue("editionNumber", new StringValue(editionNumber));

        String volume = XMLUtils.getElementValue(dataRoot, "volume");
        if (volume != null)
            record.addValue("volume", new StringValue(volume));

        String issue = XMLUtils.getElementValue(dataRoot, "issue");
        if (issue != null)
            record.addValue("issue", new StringValue(issue));
View Full Code Here

        if (volume != null)
            record.addValue("volume", new StringValue(volume));

        String issue = XMLUtils.getElementValue(dataRoot, "issue");
        if (issue != null)
            record.addValue("issue", new StringValue(issue));

        String year = XMLUtils.getElementValue(dataRoot, "year");
        if (year != null)
            record.addValue("year", new StringValue(year));
View Full Code Here

        if (issue != null)
            record.addValue("issue", new StringValue(issue));

        String year = XMLUtils.getElementValue(dataRoot, "year");
        if (year != null)
            record.addValue("year", new StringValue(year));

        String firstPage = XMLUtils.getElementValue(dataRoot, "first_page");
        if (firstPage != null)
            record.addValue("firstPage", new StringValue(firstPage));
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.