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

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

public class QuadAcc
extends Object
implements TripleCollector

Accumulate quads (including allowing variables) during parsing.


Constructor Summary
QuadAcc()
           
 
Method Summary
 void addQuad(Quad quad)
           
 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)
           
 boolean equals(Object other)
           
 com.hp.hpl.jena.graph.Node getGraph()
           
 List<Quad> getQuads()
           
 int hashCode()
           
 int mark()
           
 void setGraph(com.hp.hpl.jena.graph.Node n)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuadAcc

public QuadAcc()
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()

addQuad

public void addQuad(Quad quad)

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object


Licenced under the Apache License, Version 2.0