@Component public class HttpApiResources extends Object implements UriAwareResourceModelFactory
Constructor and Description |
---|
HttpApiResources() |
Modifier and Type | Method and Description |
---|---|
org.apache.jena.rdf.model.Model |
createModelForResource(FedoraResource resource,
javax.ws.rs.core.UriInfo uriInfo,
IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator)
Given a resource, the UriInfo and a way to generate graph subjects,
create a model with triples to inject into an RDF response for the
resource (e.g.
|
public HttpApiResources()
public org.apache.jena.rdf.model.Model createModelForResource(FedoraResource resource, javax.ws.rs.core.UriInfo uriInfo, IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator)
UriAwareResourceModelFactory
createModelForResource
in interface UriAwareResourceModelFactory
resource
- the resourceuriInfo
- the uri infoidTranslator
- the id translatorCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.