com.hp.hpl.jena.sparql.syntax
Class TripleCollectorBGP

java.lang.Object
  extended by com.hp.hpl.jena.sparql.syntax.TripleCollectorBGP
All Implemented Interfaces:
TripleCollector, TripleCollectorMark

public class TripleCollectorBGP
extends Object
implements TripleCollectorMark

A triples-only TripleCollector.


Constructor Summary
TripleCollectorBGP()
           
 
Method Summary
 void addTriple(int index, Triple t)
           
 void addTriple(Triple t)
           
 void addTriplePath(int index, TriplePath path)
           
 void addTriplePath(TriplePath path)
           
 BasicPattern getBGP()
           
 int mark()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TripleCollectorBGP

public TripleCollectorBGP()
Method Detail

getBGP

public BasicPattern getBGP()

addTriple

public void addTriple(Triple t)
Specified by:
addTriple in interface TripleCollector

mark

public int mark()
Specified by:
mark in interface TripleCollectorMark

addTriple

public void addTriple(int index,
                      Triple t)
Specified by:
addTriple in interface TripleCollectorMark

addTriplePath

public void addTriplePath(TriplePath path)
Specified by:
addTriplePath in interface TripleCollector

addTriplePath

public void addTriplePath(int index,
                          TriplePath path)
Specified by:
addTriplePath in interface TripleCollectorMark


Licenced under the Apache License, Version 2.0