@Service(value=java.lang.Object.class) @Property(name="javax.ws.rs", boolValue=true) public class Editor extends org.apache.clerezza.web.fileserver.FileServer
| Constructor and Description |
|---|
Editor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext context)
On activation the
FileServer is prepared |
org.apache.clerezza.rdf.utils.GraphNode |
getDiscobit(org.apache.clerezza.rdf.core.UriRef uri,
org.apache.clerezza.rdf.core.UriRef graphUri) |
org.wymiwyg.commons.util.dirbrowser.PathNode |
getStaticFile(javax.ws.rs.core.UriInfo uriInfo) |
void |
postDiscobit(org.apache.clerezza.rdf.core.UriRef graphUri,
String assertedString,
String revokedString,
String rdfFormat)
replaces the subgraph serialized with RDF/XML in
revokedString
with the one from assertedString. |
void |
setProviders(javax.ws.rs.ext.Providers providers)
The providers are injected by the Jax-rs implementation and used to
locate readers for the RDF content of the body
|
protected void activate(org.osgi.service.component.ComponentContext context)
FileServer is preparedcontext - @Context public void setProviders(javax.ws.rs.ext.Providers providers)
providers - public org.apache.clerezza.rdf.utils.GraphNode getDiscobit(org.apache.clerezza.rdf.core.UriRef uri,
org.apache.clerezza.rdf.core.UriRef graphUri)
public void postDiscobit(org.apache.clerezza.rdf.core.UriRef graphUri,
String assertedString,
String revokedString,
String rdfFormat)
revokedString
with the one from assertedString.graphUri - the graph within which the replacement has to take place or null
for the content graphassertedString - the asserted Graph as RDF/XMLrevokedString - the revoked Graph as RDF/XMLpublic org.wymiwyg.commons.util.dirbrowser.PathNode getStaticFile(@Context
javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2014 The Apache Software Foundation. All rights reserved.