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

java.lang.Object
  extended by com.hp.hpl.jena.sparql.syntax.ElementWalker

public class ElementWalker
extends java.lang.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 wil 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)


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.