public interface NodeVisitor
Nodes
utility class, i.e.
Nodes.visitNodes(int)
Nodes
Modifier and Type | Interface and Description |
---|---|
static interface |
NodeVisitor.NodeDetails |
Modifier and Type | Method and Description |
---|---|
boolean |
visit(int depth,
String name,
NodeVisitor.NodeDetails details)
Determines if more nodes should be visited.
|
boolean visit(int depth, String name, NodeVisitor.NodeDetails details)
depth
- the current depth in the node hierarchy. This can be relative depending on where the visitor begins.name
- the name of the node. This will be null if visiting the root node.details
- the node details that are available while visiting. This will be null if visiting the root node.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.