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 wil 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,
ElementVisitor visitor)
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010 Epimorphics Ltd.