org.dspace.browse
Class CrossLinks

java.lang.Object
  extended by org.dspace.browse.CrossLinks

public class CrossLinks
extends Object

Class to represent the configuration of the cross-linking between browse pages (for example, between the author name in one full listing to the author's list of publications).

Author:
Richard Jones

Constructor Summary
CrossLinks()
          Construct a new object which will obtain the configuration for itself
 
Method Summary
 String getLinkType(String metadata)
          get the type of link that the bit of metadata has
 boolean hasLink(String metadata)
          Is there a link for the given canonical form of metadata (i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrossLinks

public CrossLinks()
           throws BrowseException
Construct a new object which will obtain the configuration for itself

Throws:
BrowseException
Method Detail

hasLink

public boolean hasLink(String metadata)
Is there a link for the given canonical form of metadata (i.e. schema.element.qualifier)

Parameters:
metadata - the metadata to check for a link on
Returns:

getLinkType

public String getLinkType(String metadata)
get the type of link that the bit of metadata has

Parameters:
metadata - the metadata to get the link type for
Returns:


Copyright © 2010 DuraSpace. All Rights Reserved.