public class DOIURIGenerator extends Object implements URIGenerator
| Modifier and Type | Field and Description |
|---|---|
protected static URIGenerator |
fallback |
| Constructor and Description |
|---|
DOIURIGenerator() |
| Modifier and Type | Method and Description |
|---|---|
String |
generateIdentifier(Context context,
DSpaceObject dso)
Shortcut for
generateIdentifier(context, dso.getType(),
dso.getID(), dso.getHandle()). |
String |
generateIdentifier(Context context,
int type,
int id,
String handle,
String[] identifiers)
Generate a URI that can be used to identify the specified DSpaceObject in
RDF data.
|
protected static final URIGenerator fallback
public String generateIdentifier(Context context, int type, int id, String handle, String[] identifiers) throws SQLException
URIGeneratorgenerateIdentifier in interface URIGeneratorSQLExceptionRDFUtil.generateIdentifier(Context, DSpaceObject)public String generateIdentifier(Context context, DSpaceObject dso) throws SQLException
URIGeneratorgenerateIdentifier(context, dso.getType(),
dso.getID(), dso.getHandle()).generateIdentifier in interface URIGeneratorSQLExceptionCopyright © 2014 DuraSpace. All Rights Reserved.