@Component public class HttpTripleUtil extends Object implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
HttpTripleUtil() |
Modifier and Type | Method and Description |
---|---|
RdfStream |
addHttpComponentModelsForResourceToStream(RdfStream rdfStream,
FedoraResource resource,
javax.ws.rs.core.UriInfo uriInfo,
IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator)
Add additional models to the RDF dataset for the given resource
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public HttpTripleUtil()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public RdfStream addHttpComponentModelsForResourceToStream(RdfStream rdfStream, FedoraResource resource, javax.ws.rs.core.UriInfo uriInfo, IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator)
rdfStream
- the source stream we'll add named models toresource
- the FedoraResourceImpl in questionuriInfo
- a JAX-RS UriInfo object to build URIs to resourcesidTranslator
- the id translatorCopyright © 2013–2018 DuraSpace, Inc.. All rights reserved.