Package gr.ekt.bte.core

Examples of gr.ekt.bte.core.MutableRecord.addField()


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

        if (editors.size() > 0)
        {
            List<Value> values = new LinkedList<Value>();
View Full Code Here


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

        if (translators.size() > 0)
        {
            List<Value> values = new LinkedList<Value>();
View Full Code Here

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

        if (chairs.size() > 0)
        {
            List<Value> values = new LinkedList<Value>();
View Full Code Here

            List<Value> values = new LinkedList<Value>();
            for (String[] sArray : chairs)
            {
                values.add(new StringValue(sArray[1] + ", " + sArray[0]));
            }
            record.addField("chairs", values);
        }
        return record;
    }
}
View Full Code Here

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

        List<String> category = new LinkedList<String>();
        List<Element> categoryList = XMLUtils.getElementList(dataRoot,
                "category");
View Full Code Here

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

        List<String> authors = new LinkedList<String>();
        List<String> authorsWithAffiliations = new LinkedList<String>();
        List<Element> authorList = XMLUtils.getElementList(dataRoot, "author");
View Full Code Here

            List<Value> values = new LinkedList<Value>();
            for (String sArray : authors)
            {
                values.add(new StringValue(sArray));
            }
            record.addField("author", values);
        }
       
        if (authorsWithAffiliations.size() > 0)
        {
            List<Value> values = new LinkedList<Value>();
View Full Code Here

            List<Value> values = new LinkedList<Value>();
            for (String sArray : authorsWithAffiliations)
            {
                values.add(new StringValue(sArray));
            }
            record.addField("authorWithAffiliation", values);
        }

        return record;
    }
View Full Code Here

            }

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

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

            String publisher = XMLUtils.getElementValue(description_ja, "dc:publisher");
            if (publisher != 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.