com.hp.hpl.jena.sparql.core.describe
Interface DescribeHandler

All Known Implementing Classes:
DescribeBNodeClosure

public interface DescribeHandler

A DescribeHandler provides the description of a resource. DESCRIBE queries return RDF that describes the resource found, either from the query pattern or explicitly named in the DESCRIBE clause. For each resource, any handlers are called to builds the RDF model that is to be the result of the query.


Method Summary
 void describe(com.hp.hpl.jena.rdf.model.Resource resource)
          Called on everything resource found by a query.
 void finish()
          Finish the description process for thsis query execution
 void start(com.hp.hpl.jena.rdf.model.Model accumulateResultModel, Context qContext)
          Start the describe process, passing in the result model.
 

Method Detail

start

void start(com.hp.hpl.jena.rdf.model.Model accumulateResultModel,
           Context qContext)
Start the describe process, passing in the result model.

Parameters:
accumulateResultModel -
qContext - Query execution context

describe

void describe(com.hp.hpl.jena.rdf.model.Resource resource)
Called on everything resource found by a query. Can add more RDF to the model provided. May choose to add nothing.

Parameters:
resource - resource to describe

finish

void finish()
Finish the description process for thsis query execution



Licenced under the Apache License, Version 2.0