com.hp.hpl.jena.sparql.syntax
Class ElementWalker

java.lang.Object
  extended by 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.


Nested Class Summary
static class ElementWalker.Walker
           
 
Constructor Summary
ElementWalker()
           
 
Method Summary
static void walk(Element el, ElementVisitor visitor)
           
static void walk(Element el, ElementWalker.Walker walker)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementWalker

public ElementWalker()
Method Detail

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