Interface DatabaseURLGenerator
-
- All Known Implementing Classes:
EbiDatabaseURLGenerator
,NcbiDatabaseURLGenerator
public interface DatabaseURLGenerator
Takes a database ID and some configuration properties ( such as base URL ) and returns either a URL or a full anchor tag. Primary author - Colin Hardman (CAT) Other authors - Tim Dilks (CAT) Simon Brocklehurst (CAT) Stuart Johnston (CAT) Lawerence Bower (CAT) Derek Crockford (CAT) Neil Benn (CAT) Copyright 2001 Cambridge Antibody Technology Group plc. This code released to the biojava project, May 2001 under the LGPL license.- Version:
- 1.0
- Author:
- Cambridge Antibody Technology Group plc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
toLink(String poID, Properties poOptions)
Returns a full retrieve item anchor for the given database id.String
toURL(String poID, Properties poOptions)
Returns a string representation of a URL to the specified ID.
-
-
-
Method Detail
-
toURL
String toURL(String poID, Properties poOptions)
Returns a string representation of a URL to the specified ID. Used in summary section.- Parameters:
poID
- a database IDpoOptions
-Properties
- any options needed- Returns:
- a
String
value
-
toLink
String toLink(String poID, Properties poOptions)
Returns a full retrieve item anchor for the given database id. Used in detail section.- Parameters:
poID
- aString
valuepoOptions
- aProperties
value- Returns:
- a
String
value
-
-