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: 5845 $
Author:
Andrea Bollini

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

Method Detail

getStyleForItem

java.lang.String getStyleForItem(Item item)
                                 throws java.sql.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:
java.sql.SQLException

getConfigurationForStyle

java.lang.String getConfigurationForStyle(java.lang.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 © 2010 DuraSpace. All Rights Reserved.