com.hp.hpl.jena.sparql.core.describe
Class DescribeBNodeClosure

java.lang.Object
  extended by com.hp.hpl.jena.sparql.core.describe.DescribeBNodeClosure
All Implemented Interfaces:
DescribeHandler

public class DescribeBNodeClosure
extends Object
implements DescribeHandler

DescribeHandler that calculates the bNode closure. Takes all the statements of this resource, and for every object that is a bNode, it recursively includes its statements.


Constructor Summary
DescribeBNodeClosure()
           
 
Method Summary
 void describe(com.hp.hpl.jena.rdf.model.Resource r)
          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 cxt)
          Start the describe process, passing in the result model.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescribeBNodeClosure

public DescribeBNodeClosure()
Method Detail

start

public void start(com.hp.hpl.jena.rdf.model.Model accumulateResultModel,
                  Context cxt)
Description copied from interface: DescribeHandler
Start the describe process, passing in the result model.

Specified by:
start in interface DescribeHandler
cxt - Query execution context

describe

public void describe(com.hp.hpl.jena.rdf.model.Resource r)
Description copied from interface: DescribeHandler
Called on everything resource found by a query. Can add more RDF to the model provided. May choose to add nothing.

Specified by:
describe in interface DescribeHandler
Parameters:
r - resource to describe

finish

public void finish()
Description copied from interface: DescribeHandler
Finish the description process for thsis query execution

Specified by:
finish in interface DescribeHandler


Licenced under the Apache License, Version 2.0