public class PathFromRootVisitor extends ChildVisitor
Constructor and Description |
---|
PathFromRootVisitor() |
Modifier and Type | Method and Description |
---|---|
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) |
visit, visit, visit, visit
protected void visitNode(Node n)
visitNode
in class ChildVisitor