org.topbraid.spin.util
Class PropertyPathsGetter
java.lang.Object
org.topbraid.spin.model.visitor.AbstractTriplesVisitor
org.topbraid.spin.util.PropertyPathsGetter
public class PropertyPathsGetter
- extends AbstractTriplesVisitor
A utility that can be used to find all SimplePropertyPaths encoded in a
SPIN element where either subject or object is ?this.
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyPathsGetter
public PropertyPathsGetter(Element element,
java.util.Map<Property,RDFNode> initialBindings)
getResults
public java.util.Set<SimplePropertyPath> getResults()
handleTriplePattern
protected void handleTriplePattern(TriplePattern triplePattern,
java.util.Map<Property,RDFNode> bindings)
- Description copied from class:
AbstractTriplesVisitor
- Will be called on each TriplePattern.
- Specified by:
handleTriplePattern
in class AbstractTriplesVisitor
- Parameters:
triplePattern
- the TriplePattern