Interface UriAwareResourceModelFactory


Helper to generate an RDF model for a FedoraResourceImpl that (likely) creates relations from our resource to other HTTP components
Author:
awoods
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.rdf.model.Model
    createModelForResource(org.fcrepo.kernel.api.models.FedoraResource resource, javax.ws.rs.core.UriInfo uriInfo)
    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.
  • Method Details

    • createModelForResource

      org.apache.jena.rdf.model.Model createModelForResource(org.fcrepo.kernel.api.models.FedoraResource resource, javax.ws.rs.core.UriInfo uriInfo)
      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. to add HATEOAS links)
      Parameters:
      resource - the resource
      uriInfo - the uri info
      Returns:
      model containing triples for the given resource