org.dspace.app.webui.util
Class MetadataStyleSelection
java.lang.Object
org.dspace.app.webui.util.AKeyBasedStyleSelection
org.dspace.app.webui.util.MetadataStyleSelection
- All Implemented Interfaces:
- StyleSelection
public class MetadataStyleSelection
- extends AKeyBasedStyleSelection
Use the value of the metadata specified with the key webui.display.metadata-style
as name for the display style of the item. Style name is case insensitive.
- Version:
- $Revision$
- Author:
- Andrea Bollini
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataStyleSelection
public MetadataStyleSelection()
getStyleForItem
public String getStyleForItem(Item item)
throws SQLException
- Get the style using an item metadata
- Returns:
- the style name to use for display simple metadata of the item
- Throws:
SQLException
Copyright © 2013 DuraSpace. All Rights Reserved.