@Services(value={@Service(value=org.apache.clerezza.rdf.core.access.WeightedTcProvider.class),@Service(value=DocumentationProvider.class)})
@Property(name="weight",
intValue=30)
public class DocumentationProvider
extends Object
implements org.apache.clerezza.rdf.core.access.WeightedTcProvider, org.osgi.framework.BundleListener
WeightedTcProvider with the default
weight 30.| Modifier and Type | Field and Description |
|---|---|
static org.apache.clerezza.rdf.core.UriRef |
DOCUMENTATION_GRAPH_URI
The URI of the graph containing the documentations
|
| Constructor and Description |
|---|
DocumentationProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext) |
void |
bundleChanged(org.osgi.framework.BundleEvent event) |
org.apache.clerezza.rdf.core.Graph |
createGraph(org.apache.clerezza.rdf.core.UriRef name,
org.apache.clerezza.rdf.core.TripleCollection triples) |
org.apache.clerezza.rdf.core.MGraph |
createMGraph(org.apache.clerezza.rdf.core.UriRef name) |
protected void |
deactivate(org.osgi.service.component.ComponentContext componentContext) |
void |
deleteTripleCollection(org.apache.clerezza.rdf.core.UriRef name) |
org.apache.clerezza.rdf.core.Graph |
getGraph(org.apache.clerezza.rdf.core.UriRef name) |
org.apache.clerezza.rdf.core.MGraph |
getMGraph(org.apache.clerezza.rdf.core.UriRef name) |
Set<org.apache.clerezza.rdf.core.UriRef> |
getNames(org.apache.clerezza.rdf.core.Graph graph) |
org.apache.clerezza.rdf.core.TripleCollection |
getTriples(org.apache.clerezza.rdf.core.UriRef name) |
int |
getWeight() |
Set<org.apache.clerezza.rdf.core.UriRef> |
listGraphs() |
Set<org.apache.clerezza.rdf.core.UriRef> |
listMGraphs() |
Set<org.apache.clerezza.rdf.core.UriRef> |
listTripleCollections() |
public static final org.apache.clerezza.rdf.core.UriRef DOCUMENTATION_GRAPH_URI
public int getWeight()
getWeight in interface org.apache.clerezza.rdf.core.access.WeightedTcProviderpublic org.apache.clerezza.rdf.core.Graph getGraph(org.apache.clerezza.rdf.core.UriRef name)
throws org.apache.clerezza.rdf.core.access.NoSuchEntityException
getGraph in interface org.apache.clerezza.rdf.core.access.TcProviderorg.apache.clerezza.rdf.core.access.NoSuchEntityExceptionpublic org.apache.clerezza.rdf.core.MGraph getMGraph(org.apache.clerezza.rdf.core.UriRef name)
throws org.apache.clerezza.rdf.core.access.NoSuchEntityException
getMGraph in interface org.apache.clerezza.rdf.core.access.TcProviderorg.apache.clerezza.rdf.core.access.NoSuchEntityExceptionpublic org.apache.clerezza.rdf.core.TripleCollection getTriples(org.apache.clerezza.rdf.core.UriRef name)
throws org.apache.clerezza.rdf.core.access.NoSuchEntityException
getTriples in interface org.apache.clerezza.rdf.core.access.TcProviderorg.apache.clerezza.rdf.core.access.NoSuchEntityExceptionpublic Set<org.apache.clerezza.rdf.core.UriRef> listGraphs()
listGraphs in interface org.apache.clerezza.rdf.core.access.TcProviderpublic Set<org.apache.clerezza.rdf.core.UriRef> listMGraphs()
listMGraphs in interface org.apache.clerezza.rdf.core.access.TcProviderpublic Set<org.apache.clerezza.rdf.core.UriRef> listTripleCollections()
listTripleCollections in interface org.apache.clerezza.rdf.core.access.TcProviderpublic org.apache.clerezza.rdf.core.MGraph createMGraph(org.apache.clerezza.rdf.core.UriRef name)
throws UnsupportedOperationException,
org.apache.clerezza.rdf.core.access.EntityAlreadyExistsException
createMGraph in interface org.apache.clerezza.rdf.core.access.TcProviderUnsupportedOperationExceptionorg.apache.clerezza.rdf.core.access.EntityAlreadyExistsExceptionpublic org.apache.clerezza.rdf.core.Graph createGraph(org.apache.clerezza.rdf.core.UriRef name,
org.apache.clerezza.rdf.core.TripleCollection triples)
throws UnsupportedOperationException,
org.apache.clerezza.rdf.core.access.EntityAlreadyExistsException
createGraph in interface org.apache.clerezza.rdf.core.access.TcProviderUnsupportedOperationExceptionorg.apache.clerezza.rdf.core.access.EntityAlreadyExistsExceptionpublic void deleteTripleCollection(org.apache.clerezza.rdf.core.UriRef name)
throws UnsupportedOperationException,
org.apache.clerezza.rdf.core.access.NoSuchEntityException,
org.apache.clerezza.rdf.core.access.EntityUndeletableException
deleteTripleCollection in interface org.apache.clerezza.rdf.core.access.TcProviderUnsupportedOperationExceptionorg.apache.clerezza.rdf.core.access.NoSuchEntityExceptionorg.apache.clerezza.rdf.core.access.EntityUndeletableExceptionpublic Set<org.apache.clerezza.rdf.core.UriRef> getNames(org.apache.clerezza.rdf.core.Graph graph)
getNames in interface org.apache.clerezza.rdf.core.access.TcProviderpublic void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged in interface org.osgi.framework.BundleListenerprotected void activate(org.osgi.service.component.ComponentContext componentContext)
protected void deactivate(org.osgi.service.component.ComponentContext componentContext)
Copyright © 2014 The Apache Software Foundation. All rights reserved.