de.fuberlin.wiwiss.pubby
Class ModelDataSource
java.lang.Object
de.fuberlin.wiwiss.pubby.ModelDataSource
- All Implemented Interfaces:
- DataSource
public class ModelDataSource
- extends java.lang.Object
- implements DataSource
A data source backed by a Jena model.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelDataSource
public ModelDataSource(com.hp.hpl.jena.rdf.model.Model model)
getEndpointURL
public java.lang.String getEndpointURL()
- Specified by:
getEndpointURL
in interface DataSource
getResourceDescriptionURL
public java.lang.String getResourceDescriptionURL(java.lang.String resourceURI)
- Specified by:
getResourceDescriptionURL
in interface DataSource
getResourceDescription
public com.hp.hpl.jena.rdf.model.Model getResourceDescription(java.lang.String resourceURI)
- Specified by:
getResourceDescription
in interface DataSource
getAnonymousPropertyValues
public com.hp.hpl.jena.rdf.model.Model getAnonymousPropertyValues(java.lang.String resourceURI,
com.hp.hpl.jena.rdf.model.Property property,
boolean isInverse)
- Specified by:
getAnonymousPropertyValues
in interface DataSource