de.fuberlin.wiwiss.pubby
Class ModelDataSource

java.lang.Object
  extended by 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.


Constructor Summary
ModelDataSource(com.hp.hpl.jena.rdf.model.Model model)
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.Model getAnonymousPropertyValues(java.lang.String resourceURI, com.hp.hpl.jena.rdf.model.Property property, boolean isInverse)
           
 java.lang.String getEndpointURL()
           
 com.hp.hpl.jena.rdf.model.Model getResourceDescription(java.lang.String resourceURI)
           
 java.lang.String getResourceDescriptionURL(java.lang.String resourceURI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelDataSource

public ModelDataSource(com.hp.hpl.jena.rdf.model.Model model)
Method Detail

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