Class dnx.lr.NameSearchTraversal
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.lr.NameSearchTraversal
java.lang.Object
|
+----dnx.util.DNXObject
|
+----dnx.util.DNXInstancedObject
|
+----dnx.lr.Action
|
+----dnx.lr.Traversal
|
+----dnx.lr.NodeTraversal
|
+----dnx.lr.NodeReturningTraversal
|
+----dnx.lr.NodeSearchTraversal
|
+----dnx.lr.NameSearchTraversal
- public class NameSearchTraversal
- extends NodeSearchTraversal
A traversal that searches for nodes with a specified name.
This always does a COMPLETE_LEAF_TRAVERSAL, hitting all group,
leaf, and subsidiary nodes.
@see NodeSearchTraversal
-
NameSearchTraversal(String)
- Create a traversal, specifying the name that is looked for.
-
NameSearchTraversal(String, int)
- Create a traversal, specifying the name that is looked for
and the context interest.
-
getTarget()
- Return the name that is looked for.
-
isMatch(Node)
- Don't call this yourself.
-
setTarget(String)
- Set the name that is looked for.
NameSearchTraversal
public NameSearchTraversal(String name)
- Create a traversal, specifying the name that is looked for.
The context interest is NORMAL_NODES.
NameSearchTraversal
public NameSearchTraversal(String name,
int contextInterest)
- Create a traversal, specifying the name that is looked for
and the context interest.
setTarget
public void setTarget(String name)
- Set the name that is looked for.
getTarget
public String getTarget()
- Return the name that is looked for.
isMatch
public boolean isMatch(Node node)
- Don't call this yourself. It's called automatically.
- Overrides:
- isMatch in class NodeSearchTraversal
All Packages Class Hierarchy This Package Previous Next Index