Package org.dspace.xoai.util
Class ItemUtils
- java.lang.Object
-
- org.dspace.xoai.util.ItemUtils
-
public class ItemUtils extends Object
- Author:
- Lyncode Development Team (dspace at lyncode dot com)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.lyncode.xoai.dataprovider.xml.xoai.Elementcreate(String name)static com.lyncode.xoai.dataprovider.xml.xoai.Element.FieldcreateValue(String name, String value)static com.lyncode.xoai.dataprovider.xml.xoai.ElementgetElement(List<com.lyncode.xoai.dataprovider.xml.xoai.Element> list, String name)static com.lyncode.xoai.dataprovider.xml.xoai.MetadataretrieveMetadata(Context context, Item item)Utility method to retrieve a structured XML in XOAI format
-
-
-
Method Detail
-
getElement
public static com.lyncode.xoai.dataprovider.xml.xoai.Element getElement(List<com.lyncode.xoai.dataprovider.xml.xoai.Element> list, String name)
-
create
public static com.lyncode.xoai.dataprovider.xml.xoai.Element create(String name)
-
createValue
public static com.lyncode.xoai.dataprovider.xml.xoai.Element.Field createValue(String name, String value)
-
-