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

java.lang.Object
  extended by com.hp.hpl.jena.sparql.modify.request.QuadAccSink
      extended by com.hp.hpl.jena.sparql.modify.request.QuadDataAccSink
          extended by com.hp.hpl.jena.sparql.modify.request.QuadDataAcc
All Implemented Interfaces:
TripleCollector, TripleCollectorMark, Closeable

public class QuadDataAcc
extends QuadDataAccSink
implements TripleCollectorMark

Accumulate quads (excluding allowing variables) during parsing.


Constructor Summary
QuadDataAcc()
           
QuadDataAcc(List<Quad> quads)
           
 
Method Summary
 void addTriple(int index, Triple triple)
           
 void addTriplePath(int index, TriplePath tPath)
           
 boolean equals(Object other)
           
 List<Quad> getQuads()
           
 int hashCode()
           
 int mark()
           
 
Methods inherited from class com.hp.hpl.jena.sparql.modify.request.QuadAccSink
addQuad, addTriple, addTriplePath, close, getGraph, setGraph
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.sparql.syntax.TripleCollector
addTriple, addTriplePath
 

Constructor Detail

QuadDataAcc

public QuadDataAcc()

QuadDataAcc

public QuadDataAcc(List<Quad> quads)
Method Detail

getQuads

public List<Quad> getQuads()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

mark

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

addTriple

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

addTriplePath

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


Licenced under the Apache License, Version 2.0