com.hp.hpl.jena.sparql.modify.request
Class QuadsAcc

java.lang.Object
  extended by com.hp.hpl.jena.sparql.modify.request.QuadsAcc
All Implemented Interfaces:
TripleCollector
Direct Known Subclasses:
QuadDataAcc

public class QuadsAcc
extends Object
implements TripleCollector

Accumulate quads (including allowing variables) during parsing.


Constructor Summary
QuadsAcc()
           
 
Method Summary
 void addTriple(int index, com.hp.hpl.jena.graph.Triple triple)
           
 void addTriple(com.hp.hpl.jena.graph.Triple triple)
           
 void addTriplePath(int index, TriplePath tPath)
           
 void addTriplePath(TriplePath tPath)
           
 com.hp.hpl.jena.graph.Node getGraph()
           
 List<Quad> getQuads()
           
 int mark()
           
 void setGraph(com.hp.hpl.jena.graph.Node n)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuadsAcc

public QuadsAcc()
Method Detail

setGraph

public void setGraph(com.hp.hpl.jena.graph.Node n)

getGraph

public com.hp.hpl.jena.graph.Node getGraph()

getQuads

public List<Quad> getQuads()

addTriple

public void addTriple(com.hp.hpl.jena.graph.Triple triple)
Specified by:
addTriple in interface TripleCollector

addTriple

public void addTriple(int index,
                      com.hp.hpl.jena.graph.Triple triple)
Specified by:
addTriple in interface TripleCollector

addTriplePath

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

addTriplePath

public void addTriplePath(int index,
                          TriplePath tPath)
Specified by:
addTriplePath in interface TripleCollector

mark

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


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010 Epimorphics Ltd.