Package org.apache.jena.sparql.syntax
Class ElementWalker
- java.lang.Object
-
- org.apache.jena.sparql.syntax.ElementWalker
-
public class ElementWalker extends java.lang.Object
An element visitor that walks the graph pattern tree for one query level. applying a visitor at each Element traversed.
Does not process subqueries.
Does not process (NOT)EXISTS in filters.
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.
-
-
Constructor Summary
Constructors Constructor Description ElementWalker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
walk(Element el, ElementVisitor visitor)
static void
walk(Element el, ElementVisitor visitor, ElementVisitor beforeVisitor, ElementVisitor afterVisitor)
-
-
-
Method Detail
-
walk
public static void walk(Element el, ElementVisitor visitor)
-
walk
public static void walk(Element el, ElementVisitor visitor, ElementVisitor beforeVisitor, ElementVisitor afterVisitor)
-
-