public class HttpResourceConverter extends org.fcrepo.kernel.api.identifiers.IdentifierConverter<org.apache.jena.rdf.model.Resource,org.fcrepo.kernel.api.models.FedoraResource>
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Converter<String,String> |
forward |
protected com.google.common.base.Converter<String,String> |
reverse |
protected List<com.google.common.base.Converter<String,String>> |
translationChain |
| Constructor and Description |
|---|
HttpResourceConverter(HttpSession session,
javax.ws.rs.core.UriBuilder uriBuilder)
Create a new identifier converter within the given session with the given URI template
|
| Modifier and Type | Method and Description |
|---|---|
String |
asString(org.apache.jena.rdf.model.Resource resource) |
protected org.apache.jena.rdf.model.Resource |
doBackward(org.fcrepo.kernel.api.models.FedoraResource resource) |
protected org.fcrepo.kernel.api.models.FedoraResource |
doForward(org.apache.jena.rdf.model.Resource resource) |
protected org.springframework.context.ApplicationContext |
getApplicationContext() |
protected List<com.google.common.base.Converter<String,String>> |
getTranslationChain() |
boolean |
inDomain(org.apache.jena.rdf.model.Resource resource) |
protected void |
resetTranslationChain() |
org.apache.jena.rdf.model.Resource |
toDomain(String path) |
protected List<com.google.common.base.Converter<String,String>> translationChain
public HttpResourceConverter(HttpSession session, javax.ws.rs.core.UriBuilder uriBuilder)
session - the sessionuriBuilder - the uri builderprotected org.fcrepo.kernel.api.models.FedoraResource doForward(org.apache.jena.rdf.model.Resource resource)
doForward in class com.google.common.base.Converter<org.apache.jena.rdf.model.Resource,org.fcrepo.kernel.api.models.FedoraResource>protected org.apache.jena.rdf.model.Resource doBackward(org.fcrepo.kernel.api.models.FedoraResource resource)
doBackward in class com.google.common.base.Converter<org.apache.jena.rdf.model.Resource,org.fcrepo.kernel.api.models.FedoraResource>public boolean inDomain(org.apache.jena.rdf.model.Resource resource)
inDomain in class org.fcrepo.kernel.api.identifiers.IdentifierConverter<org.apache.jena.rdf.model.Resource,org.fcrepo.kernel.api.models.FedoraResource>public org.apache.jena.rdf.model.Resource toDomain(String path)
toDomain in class org.fcrepo.kernel.api.identifiers.IdentifierConverter<org.apache.jena.rdf.model.Resource,org.fcrepo.kernel.api.models.FedoraResource>public String asString(org.apache.jena.rdf.model.Resource resource)
asString in class org.fcrepo.kernel.api.identifiers.IdentifierConverter<org.apache.jena.rdf.model.Resource,org.fcrepo.kernel.api.models.FedoraResource>protected void resetTranslationChain()
protected List<com.google.common.base.Converter<String,String>> getTranslationChain()
protected org.springframework.context.ApplicationContext getApplicationContext()
Copyright © 2013–2018 DuraSpace, Inc.. All rights reserved.