com.hp.hpl.jena.sparql.syntax
Class ElementWalker
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementWalker
public ElementWalker()
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.