public interface URIGenerator
RDFUtil.generateIdentifier(Context, DSpaceObject) and
org.dspace.rdf.RDFUtil#generateGraphURI(Context, DSpaceObject) to
get URIs for RDF data.
Please note that URIs can be generated for DSpaceObjects of the
type SITE, COMMUNITY, COLLECTION or ITEM only. Currently dspace-rdf
doesn't support Bundles or Bitstreams as independent entity.| 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.
|
String generateIdentifier(Context context, int type, int id, String handle, String[] identifiers) throws SQLException
context - dso - SQLExceptionRDFUtil.generateIdentifier(Context, DSpaceObject)String generateIdentifier(Context context, DSpaceObject dso) throws SQLException
generateIdentifier(context, dso.getType(),
dso.getID(), dso.getHandle()).context - dso - SQLExceptionCopyright © 2014 DuraSpace. All Rights Reserved.