org.netbeans.modules.xml.xdm/1 1.19.0 1

org.netbeans.modules.xml.xdm.visitor
Class PathFromRootVisitor

java.lang.Object
  extended by org.netbeans.modules.xml.xdm.visitor.DefaultVisitor
      extended by org.netbeans.modules.xml.xdm.visitor.ChildVisitor
          extended by org.netbeans.modules.xml.xdm.visitor.PathFromRootVisitor
All Implemented Interfaces:
XMLNodeVisitor

public class PathFromRootVisitor
extends ChildVisitor


Constructor Summary
PathFromRootVisitor()
           
 
Method Summary
 List<Node> findPath(Document root, Node target)
           
 List<Node> findPath(Document root, Node target)
           
 List<Node> findPathToRootElement(Element root, Node target)
           
protected  void visitNode(Node n)
           
 
Methods inherited from class org.netbeans.modules.xml.xdm.visitor.DefaultVisitor
visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathFromRootVisitor

public PathFromRootVisitor()
Method Detail

findPath

public List<Node> findPath(Document root,
                           Node target)

findPathToRootElement

public List<Node> findPathToRootElement(Element root,
                                        Node target)

findPath

public List<Node> findPath(Document root,
                           Node target)

visitNode

protected void visitNode(Node n)
Overrides:
visitNode in class ChildVisitor

org.netbeans.modules.xml.xdm/1 1.19.0 1

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.