com.hp.hpl.jena.sparql.syntax
Class ElementWalker
java.lang.Object
com.hp.hpl.jena.sparql.syntax.ElementWalker
public class ElementWalker
- extends Object
An element visitor that walks the graph pattern tree,
applying a visitor at each Element traversed.
Only walks one level of the query (not subqueries -- sub SELECT, (NOT)EXISTS
these will need to call down themselves if it is meaningful for the visitor.
Bottom-up walk - apply to subelements before applying to current element.
ElementWalker
public ElementWalker()
walk
public static void walk(Element el,
ElementVisitor visitor)
walk
public static void walk(Element el,
ElementWalker.Walker walker)
Licenced under the Apache License, Version 2.0