org.dspace.app.webui.util
Interface StyleSelection

All Known Implementing Classes:
AKeyBasedStyleSelection, CollectionStyleSelection, MetadataStyleSelection

public interface StyleSelection

Interface for a strategy of style selection

Version:
$Revision$
Author:
Andrea Bollini

Method Summary
 String getConfigurationForStyle(String style)
          Get the configuration of the style passed as argument.
 String getStyleForItem(Item item)
          Define which display style use for the item.
 

Method Detail

getStyleForItem

String getStyleForItem(Item item)
                       throws SQLException
Define which display style use for the item.

Parameters:
item -
Returns:
the style name to use for display simple metadata of the item
Throws:
SQLException

getConfigurationForStyle

String getConfigurationForStyle(String style)
Get the configuration of the style passed as argument. The configuration has the following syntax: schema.element[.qualifier|.*][(display-option)]

Parameters:
style -
Returns:


Copyright © 2013 DuraSpace. All Rights Reserved.