org.dspace.app.webui.util
Class AKeyBasedStyleSelection

java.lang.Object
  extended by org.dspace.app.webui.util.AKeyBasedStyleSelection
All Implemented Interfaces:
StyleSelection
Direct Known Subclasses:
CollectionStyleSelection, MetadataStyleSelection

public abstract class AKeyBasedStyleSelection
extends java.lang.Object
implements StyleSelection

Simple abstract class that provide utility method for get/check style configuration from dspace.cfg file

Version:
$Revision: 5845 $
Author:
Andrea Bollini

Constructor Summary
AKeyBasedStyleSelection()
           
 
Method Summary
 java.lang.String getConfigurationForStyle(java.lang.String style)
          Get the configuration of the style passed as argument.
protected  boolean isConfigurationDefinedForStyle(java.lang.String style)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dspace.app.webui.util.StyleSelection
getStyleForItem
 

Constructor Detail

AKeyBasedStyleSelection

public AKeyBasedStyleSelection()
Method Detail

getConfigurationForStyle

public java.lang.String getConfigurationForStyle(java.lang.String style)
Description copied from interface: StyleSelection
Get the configuration of the style passed as argument. The configuration has the following syntax: schema.element[.qualifier|.*][(display-option)]

Specified by:
getConfigurationForStyle in interface StyleSelection
Returns:

isConfigurationDefinedForStyle

protected boolean isConfigurationDefinedForStyle(java.lang.String style)


Copyright © 2010 DuraSpace. All Rights Reserved.