de.fuberlin.wiwiss.pubby
Class MappedResource

java.lang.Object
  extended by de.fuberlin.wiwiss.pubby.MappedResource

public class MappedResource
extends java.lang.Object

A resource that is mapped between the SPARQL dataset and the Web server.


Constructor Summary
MappedResource(java.lang.String relativeWebURI, java.lang.String datasetURI, Configuration config, Dataset dataset)
           
 
Method Summary
 Dataset getDataset()
           
 java.lang.String getDatasetURI()
           
 java.lang.String getDataURL()
           
 java.lang.String getInversePathDataURL(com.hp.hpl.jena.rdf.model.Property property)
           
 java.lang.String getInversePathPageURL(com.hp.hpl.jena.rdf.model.Property property)
           
 java.lang.String getPageURL()
           
 java.lang.String getPathDataURL(com.hp.hpl.jena.rdf.model.Property property)
           
 java.lang.String getPathPageURL(com.hp.hpl.jena.rdf.model.Property property)
           
 java.lang.String getWebURI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappedResource

public MappedResource(java.lang.String relativeWebURI,
                      java.lang.String datasetURI,
                      Configuration config,
                      Dataset dataset)
Method Detail

getDataset

public Dataset getDataset()
Returns:
The dataset which contains the description of this resource

getDatasetURI

public java.lang.String getDatasetURI()
Returns:
the resource's URI within the SPARQL dataset

getWebURI

public java.lang.String getWebURI()
Returns:
the resource's URI on the public Web server

getPageURL

public java.lang.String getPageURL()
Returns:
the HTML page describing the resource on the public Web server

getDataURL

public java.lang.String getDataURL()
Returns:
the RDF document describing the resource on the public Web server

getPathPageURL

public java.lang.String getPathPageURL(com.hp.hpl.jena.rdf.model.Property property)

getPathDataURL

public java.lang.String getPathDataURL(com.hp.hpl.jena.rdf.model.Property property)

getInversePathPageURL

public java.lang.String getInversePathPageURL(com.hp.hpl.jena.rdf.model.Property property)

getInversePathDataURL

public java.lang.String getInversePathDataURL(com.hp.hpl.jena.rdf.model.Property property)