Package org.dspace.xoai.app
Class CCElementItemCompilePlugin
java.lang.Object
org.dspace.xoai.app.CCElementItemCompilePlugin
- All Implemented Interfaces:
XOAIExtensionItemCompilePlugin
XOAIExtensionItemCompilePlugin aims to add structured information about the
creative commons license applied to the item (if any).
The xoai document will be enriched with a structure like that
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.lyncode.xoai.dataprovider.xml.xoai.MetadataadditionalMetadata(Context context, com.lyncode.xoai.dataprovider.xml.xoai.Metadata metadata, Item item) This method allows plugins to add content to the xoai document generated for the item.
-
Constructor Details
-
CCElementItemCompilePlugin
public CCElementItemCompilePlugin()
-
-
Method Details
-
additionalMetadata
public com.lyncode.xoai.dataprovider.xml.xoai.Metadata additionalMetadata(Context context, com.lyncode.xoai.dataprovider.xml.xoai.Metadata metadata, Item item) Description copied from interface:XOAIExtensionItemCompilePluginThis method allows plugins to add content to the xoai document generated for the item.- Specified by:
additionalMetadatain interfaceXOAIExtensionItemCompilePlugin- Parameters:
context- the DSpace Contextmetadata- the basic xoai representation of the item that can be manipulated by the pluginitem- the dspace item to index- Returns:
- the altered xoai metadata
-