public interface ConverterPlugin
| Modifier and Type | Method and Description |
|---|---|
com.hp.hpl.jena.rdf.model.Model |
convert(Context context,
DSpaceObject dso)
Convert the specified DSpaceObject or a part of it into RDF.
|
void |
setConfigurationService(ConfigurationService configurationService) |
boolean |
supports(int type)
Returns all type of DSpaceObjects that are supported by this plugin.
|
void setConfigurationService(ConfigurationService configurationService)
com.hp.hpl.jena.rdf.model.Model convert(Context context, DSpaceObject dso) throws SQLException, AuthorizeException
context - Please check the READ permission for the provided context
before converting any data!dso - The DSpaceObject that should be converted.SQLExceptionAuthorizeExceptionboolean supports(int type)
type - Resource type as defined in org.dspace.core.Constants.ConstantsCopyright © 2016 DuraSpace. All rights reserved.