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 Details

    • 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)
    • retrieveMetadata

      public static com.lyncode.xoai.dataprovider.xml.xoai.Metadata retrieveMetadata(Context context, Item item)
      Utility method to retrieve a structured XML in XOAI format
      Parameters:
      context -
      item -
      Returns:
      Structured XML Metadata in XOAI format