com.hp.hpl.jena.sparql.syntax
Class ElementTriplesBlock
java.lang.Object
com.hp.hpl.jena.sparql.syntax.Element
com.hp.hpl.jena.sparql.syntax.ElementTriplesBlock
- All Implemented Interfaces:
- TripleCollector
public class ElementTriplesBlock
- extends Element
- implements TripleCollector
The syntax eleemnt for a SPARQL BasicGraphPattern
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ElementTriplesBlock
public ElementTriplesBlock()
ElementTriplesBlock
public ElementTriplesBlock(BasicPattern bgp)
isEmpty
public boolean isEmpty()
addTriple
public void addTriple(com.hp.hpl.jena.graph.Triple t)
- Specified by:
addTriple in interface TripleCollector
mark
public int mark()
- Specified by:
mark in interface TripleCollector
addTriple
public void addTriple(int index,
com.hp.hpl.jena.graph.Triple t)
- Specified by:
addTriple in interface TripleCollector
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 TripleCollector
getPattern
public BasicPattern getPattern()
patternElts
public java.util.Iterator<com.hp.hpl.jena.graph.Triple> patternElts()
hashCode
public int hashCode()
- Specified by:
hashCode in class Element
equalTo
public boolean equalTo(Element el2,
NodeIsomorphismMap isoMap)
- Specified by:
equalTo in class Element
visit
public void visit(ElementVisitor v)
- Specified by:
visit in class Element
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.