Class ElementGenerateTriplesBlock
- java.lang.Object
-
- org.apache.jena.sparql.syntax.Element
-
- fr.mines_stetienne.ci.sparql_generate.syntax.ElementGenerateTriplesBlock
-
- All Implemented Interfaces:
TripleCollector
,TripleCollectorMark
public class ElementGenerateTriplesBlock extends Element implements TripleCollectorMark
The syntax element for a SPARQL Generate Basic Graph Pattern- Author:
- Maxime Lefrançois
-
-
Constructor Summary
Constructors Constructor Description ElementGenerateTriplesBlock()
ElementGenerateTriplesBlock(BasicPattern bgp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTriple(int index, Triple t)
void
addTriple(Triple t)
void
addTriplePath(int index, TriplePath path)
void
addTriplePath(TriplePath path)
boolean
equalTo(Element el2, NodeIsomorphismMap isoMap)
BasicPattern
getPattern()
int
hashCode()
boolean
isEmpty()
int
mark()
Iterator<Triple>
patternElts()
void
visit(ElementVisitor v)
-
-
-
Constructor Detail
-
ElementGenerateTriplesBlock
public ElementGenerateTriplesBlock()
-
ElementGenerateTriplesBlock
public ElementGenerateTriplesBlock(BasicPattern bgp)
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
addTriple
public void addTriple(Triple t)
- Specified by:
addTriple
in interfaceTripleCollector
-
mark
public int mark()
- Specified by:
mark
in interfaceTripleCollectorMark
-
addTriple
public void addTriple(int index, Triple t)
- Specified by:
addTriple
in interfaceTripleCollectorMark
-
addTriplePath
public void addTriplePath(TriplePath path)
- Specified by:
addTriplePath
in interfaceTripleCollector
-
addTriplePath
public void addTriplePath(int index, TriplePath path)
- Specified by:
addTriplePath
in interfaceTripleCollectorMark
-
getPattern
public BasicPattern getPattern()
-
equalTo
public boolean equalTo(Element el2, NodeIsomorphismMap isoMap)
-
visit
public void visit(ElementVisitor v)
-
-